You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
346 B
11 lines
346 B
# Disable XML parameter parsing, see:
|
|
# http://www.insinuator.net/2013/01/rails-yaml/
|
|
ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML)
|
|
|
|
# Adds an extension method previously found in a Vizzuality fork of rails-sequel
|
|
module SequelRails
|
|
def self.connection
|
|
@db ||= ::Sequel.synchronize { ::Sequel::DATABASES.first }
|
|
end
|
|
end
|