On 3 Mar., 10:07, "[email protected]" <[email protected]> wrote:
> I've revised the example a bit. This works perfectly for me. Feel free > to try it out:http://pastie.org/405733 I need to mention that in the latest example (http://pastie.org/ 405733) I'm also overriding the #error_messages_for method, so now you can actully focus on the first field that has errors automatically. The only thing you need to change is your application layout. Put: <%= yield :head %> ... just before </head>. And then of course add the two methods to your application helper file. Hope it helps... :) -- Cheers, David Knorr http://twitter.com/rubyguy --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

