Displaying 2 results from an estimated 2 matches for "error_messages_on_fix".
2005 Dec 23
1
Overloading error_message_on method in ActiveRecordHelper
Hello all
I would like to overload the error_message_on method in the
ActiveRecordHelper module in order to emit a span tag instead of a div
tag. I try to achieve this by way of plugins: Under vendor/plugins
I''ve made a error_messages_on_fix directory, containing init.rb like
this:
---
require ''active_record_helper_fix''
---
..and a lib directory with active_record_helper_fix.rb like this:
---
require ''action_view/helpers/active_record_helper''
module ActionView
module Helpers
module ActiveReco...
2005 Dec 27
0
Re: RESOLVED: Overloading error_message_on method in ActiveRecordHelper
...rote:
>
> > Hello all
> >
> > I would like to overload the error_message_on method in the
> > ActiveRecordHelper module in order to emit a span tag instead of a div
> > tag. I try to achieve this by way of plugins: Under vendor/plugins
> > I''ve made a error_messages_on_fix directory, containing init.rb like
> > this:
> > ---
> > require ''active_record_helper_fix''
> > ---
> >
> > ..and a lib directory with active_record_helper_fix.rb like this:
> > ---
> > require ''action_view/helpers/active_re...