search for: active_record_helper_fix

Displaying 2 results from an estimated 2 matches for "active_record_helper_fix".

2005 Dec 23
1
Overloading error_message_on method in ActiveRecordHelper
...uld 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 ActiveRecordHelper def error_message_on(object, method, prepend_text = "", append_...
2005 Dec 27
0
Re: RESOLVED: Overloading error_message_on method in ActiveRecordHelper
...> 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...