search for: actionvie

Displaying 1 result from an estimated 1 matches for "actionvie".

Did you mean: actionview
2008 Dec 11
2
uninitialized constant ActionVie
Hello I am trying to transform my web app into a 2.2 ready app, in my config/environment.rb I wrote Rails::Initializer.run do |config| ..... # disabling the surrounding div if validation error ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| if html_tag.include?("class=") html_tag.sub(%r{(class=["''])}, ''\1invalid '') else html_tag.sub(%r{(<[^ ]+ )}, ''\1class="invalid" '') end end .....