dynamic_form? yes! OR dynamic_form? no?

Hi Guys,

I'm reading the Rails 3 Way by Obie Fernandez and talk about the dynamic_form plug in but in this article

http://asciicasts.com/episodes/211-validations-in-rails-3

I read that in the dynamic_form plugin uses deprecate methods in the Rails 3 framework as error_messages_for

Which is your experience with this plugin?

thanks,

C

Hi Guys,

I'm reading the Rails 3 Way by Obie Fernandez and talk about the dynamic_form plug in but in this article

http://asciicasts.com/episodes/211-validations-in-rails-3

I read that in the dynamic_form plugin uses deprecate methods in the Rails 3 framework as error_messages_for

That's not quite it. error_messages_for etc were removed from rails 3 and put in the dynamic_form plugin instead. This doesn't mean there was anything massively wrong with them, just that they weren't important enough to be in core or it was felt they would evolve better (or better replacements would be created) if they were no longer in core (like pagination, removed in 2.0 and now we have will_paginate, kaminari etc.)

Which is your experience with this plugin?

works fine for me. It feels like at a certain point you'd probably want to replace error_messages_for with a helper that presents things in a way more appropriate to your app

Fred