1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Carlos Antonio da Silva
cf05e5f6ea Stop shelling out more than necessary 2012-12-07 00:06:08 -02:00
Carlos Antonio da Silva
43c284297b Run rake tasks all at once in rake dbs test for a speed up
Before:

    Finished tests in 56.245787s, 0.2133 tests/s, 0.0000 assertions/s.
    12 tests, 0 assertions, 0 failures, 0 errors, 0 skips

After:
    Finished tests in 42.401416s, 0.2830 tests/s, 0.0000 assertions/s.
    12 tests, 0 assertions, 0 failures, 0 errors, 0 skips
2012-12-06 21:43:14 -02:00
Rafael Mendonça França
9cd831a0b0 Fix syntax error in assert_match 2012-09-15 09:13:48 -03:00
Arun Agrawal
ff04bb84e1 Few more warnings removed.
I found them when I was running
warning mode on with railties

See https://github.com/rails/rails/pull/3782
2012-09-15 14:26:04 +05:30
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