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!

On Mar 3, 2011, at 7:37 PM, Gaba L. [email protected] wrote:

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs