Gaba Luschi
2011-Mar-04 01:37 UTC
DEPRECATION WARNING: error_messages_for was removed from Rails.
Hi, When I tried to add in an error_messages_for into one of my files and loaded the site, I got this error: DEPRECATION WARNING: error_messages_for was removed from Rails and is now available as a plugin. Please install it with `rails plugin install git://github.com/rails/dynamic_form.git`. (called from block in _app_views_stories_new_html_erb__738440331_32228400_528958273 at c:/Users/owner/shov_app/app/views/stories/new.html.erb:2) I installed the plugin, but even after restarting the server several times, I still get the same error. Suggestions for what I might be doing wrong? Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Mar-04 06:51 UTC
Re: DEPRECATION WARNING: error_messages_for was removed from Rails.
On Mar 3, 2011, at 7:37 PM, Gaba Luschi <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > When I tried to add in an error_messages_for into one of my files and > loaded the site, I got this error: > > DEPRECATION WARNING: error_messages_for was removed from Rails and is > now available as a plugin. Please install it with `rails plugin install > git://github.com/rails/dynamic_form.git`. (called from block in > _app_views_stories_new_html_erb__738440331_32228400_528958273 at > c:/Users/owner/shov_app/app/views/stories/new.html.erb:2) > > I installed the plugin, but even after restarting the server several > times, I still get the same error. Suggestions for what I might be > doing wrong? >Have you required the plugin in your code? If not, your code is still going to use the old code that is in rails even though it is deprecated. B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.