diff options
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb index ade28bba0..ed71aa5d5 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -61,7 +61,16 @@ end ActiveRecord::Errors.default_error_messages[:blank] = "must be filled in" # Include your application configuration below + +# Include our own helper functions $:.push("../rblib") load "validate.rb" +# Output HTML 4.0 compliant code, using method described in this ticket +# http://dev.rubyonrails.org/ticket/6009 +ActionView::Helpers::TagHelper.module_eval do + def tag(name, options = nil, open = false) + "<#{name}#{tag_options(options.stringify_keys) if options}>" + end +end |