aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environment.rb4
-rw-r--r--config/environments/development.rb3
2 files changed, 2 insertions, 5 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 62db9d0ae..5408056ad 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -79,8 +79,8 @@ ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| %(<span clas
# Monkeypatch! 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}>"
+ def tag(name, options = nil, open = false, escape = true)
+ "<#{name}#{tag_options(options, escape) if options}" + (open ? ">" : ">")
end
end
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 243eb489c..eb5fe21c4 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -8,9 +8,6 @@ config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
-# Enable the breakpoint server that script/breakpointer connects to
-config.breakpoint_server = true
-
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false