I’ve upgraded my rails sample app from version 3.1 to version 3.2.6. Unfortunately, I have the following deprecation warning.
DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from _app_views_shared__feed_item_html_erb___1282539180373198927_70193136005180 at /Users/Bart/rails_projects/sample_app/app/views/shared/_feed_item.html.erb:27)
Looking forward to tackle this issue.
Best regards
The way this warning reads, you need to edit line 27 of your shared/_feed_item.html.erb view. It is a simple change of
to
or the newer Rails 1.9 syntax:
Here is a link to the Rails commit and the Rails team’s discussion where the deprecation occurred.