Even after applying the ActionView::Base.field_error_proc trick,
validation error messages are not displayed on themed forms.
I'm using v0.5.1 of web-app-theme and Rails 2.3.5.
To reproduce, follow the steps in the GravityBlast 2 minute tutorial
and add some simple validation to the Album model (e.g.
validates_presence_of :name). Leave the name blank and submit the
form, and it's simply redisplayed without any error messages.
Cheers...
Roger
Hi Roger, there was a bug in the label name generation. If you update
the gem, the version 0.5.2 should fix that bug.
Let me know if it works!
thank you
> I'm using v0.5.1 of web-app-theme and Rails 2.3.5.
>
> To reproduce, follow the steps in the GravityBlast 2 minute tutorial
> and add some simple validation to the Album model (e.g.
> validates_presence_of :name). Leave the name blank and submit the
> form, and it's simply redisplayed without any error messages.
>
> Cheers...
> Roger
>
--
Andrea Franz
http://gravityblast.com
That does indeed fix it, along with fields with underscores in their
name. Many thanks!
Cheers...
Roger