addon 'activerecord' addon 'coffeescript' addon 'jquery' gem 'client_side_validations' sentinel = {:after => "#= require jquery\n"} inject_into_file 'application.coffee', "#= require rails.validations\n", sentinel initializer_code = <<-CODE ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| unless html_tag =~ /^