mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
148c50b49a
- added tests to confirm establish_connection uses DATABASE_URL and Rails.env correctly even when no arguments are passed in. - updated rake db tasks to support DATABASE_URL, and added tests to confirm correct behavior for these rake tasks. (Removed establish_connection call from some tasks since in those cases the :environment task already made sure the function would be called) - updated Resolver so that when it resolves the database url, it removes hash values with empty strings from the config spec (e.g. to support connection to postgresql when no username is specified). |
||
---|---|---|
.. | ||
application | ||
commands | ||
configuration | ||
fixtures | ||
generators | ||
isolation | ||
queueing | ||
railties | ||
abstract_unit.rb | ||
backtrace_cleaner_test.rb | ||
engine_test.rb | ||
generators_test.rb | ||
initializable_test.rb | ||
paths_test.rb | ||
rails_info_controller_test.rb | ||
rails_info_test.rb | ||
script_rails_loader_test.rb |