Displaying 1 result from an estimated 1 matches for "4y1gq2exlbxvnoemgxgivw".
2005 Dec 27
0
Re: RESOLVED: Overloading error_message_on method in ActiveRecordHelper
...roper way to do it, but it seems to work.
Now I can use
<%= error_message_on(''user'', ''first_name'', :span => true) %>
in my templates when I want my error messages in a <span> instead of in a <div>.
-martin
On 12/23/05, David Lee <david-4y1Gq2eXLBXvnOemgxGiVw@public.gmane.org> wrote:
> I''m trying to do something quite similar myself for the first time.
>
> i''ll offer one piece of advice: putting that code in a file that also
> contains a model or helper means you don''t have to restart the server
> to see your...