Make sales_price compatible with spree 2.1 and Rails 4.x