rails--rails/activerecord/lib/active_record/tasks
Grace Liu 148c50b49a fixed support for DATABASE_URL for rake db tasks
- 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).
2012-09-11 20:40:13 -07:00
..
database_tasks.rb fixed support for DATABASE_URL for rake db tasks 2012-09-11 20:40:13 -07:00
mysql_database_tasks.rb Use configuration['encoding'], because database configuration use not charset but encoding. 2012-09-12 02:54:56 +09:00
postgresql_database_tasks.rb Unify the collation API for the database adpters 2012-07-01 12:58:41 -03:00
sqlite_database_tasks.rb Refactor db:structure:load task. 2012-06-21 01:35:26 +09:00