Update for Rails 4 and Spree 2.1