From: Paul Gillard Date: Tue, 10 Feb 2009 22:50:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: live~7643 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/302fd06d4606867176d6fba8d14ae9a6fa7ec8af --- diff --git a/config/database.yml b/config/database.yml index 5d59ed74b..b884f3b93 100644 --- a/config/database.yml +++ b/config/database.yml @@ -24,7 +24,7 @@ test: adapter: mysql database: osm_test username: root - password: root + password: host: localhost production: diff --git a/config/environments/development.rb b/config/environments/development.rb index 7a7876f28..09a451f9a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -15,6 +15,4 @@ config.action_controller.perform_caching = false config.action_view.cache_template_extensions = false # Don't care if the mailer can't send -config.action_mailer.raise_delivery_errors = false - -ENV['RAILS_ASSET_ID'] = '' # http://wiki.openstreetmap.org/wiki/The_Rails_Port \ No newline at end of file +config.action_mailer.raise_delivery_errors = false \ No newline at end of file diff --git a/config/initializers/libxml.rb b/config/initializers/libxml.rb index 22f429da5..a1870dbab 100644 --- a/config/initializers/libxml.rb +++ b/config/initializers/libxml.rb @@ -2,4 +2,6 @@ require 'rubygems' gem 'libxml-ruby', '>= 0.8.3' require 'libxml' -LibXML::XML::Parser.register_error_handler(proc{}) +LibXML::XML::Parser.register_error_handler do |message| + raise message +end