Fixing deprecation warnings for Rails 4 in the product decorator