[Rails] Overriding

Dan Harper
Sat, 25 Mar 2006 02:38:03 -0000

Marcel Molina Jr. wrote:
> You can set your own Proc. For example, in your config/environment.rb:
>
> ActionView::Base.field_error_proc = Proc.new {|html_tag, instance|
%(#{html_tag})}
>
Cool thanks.  That worked a treat.

Dan