1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
John Foley d66d6076b2 Fix collisions with before and after validation callbacks.
This commit allows a user to do something like:
    before_validation :do_stuff, :on => [ :create, :update ]
    after_validation :do_more, :on => [ :create, :update ]
2012-09-23 12:53:50 -06:00
..
active_record/connection_adapters Ensure disconnecting or reconnecting resets the transaction state 2012-09-15 00:03:04 +01:00
assets Added test to illustrate bad binary blobs. 2012-01-31 13:45:00 -06:00
cases Fix collisions with before and after validation callbacks. 2012-09-23 12:53:50 -06:00
fixtures test cleanup, remove ruby_type because it's no longer needed 2012-09-03 20:38:14 +02:00
migrations stop depending on the filesystem for interleaved migration tests 2012-01-13 14:33:59 -08:00
models Revert "Fix find_in_batches with customized primary_key" 2012-09-21 19:14:17 -03:00
schema Accept belongs_to assoc. keys in ActiveRecord queries 2012-09-11 14:11:51 -04:00
support Fix annoy warning, when executing testcase. 2012-09-11 00:17:08 +09:00
.gitignore Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. 2011-06-04 23:47:03 +01:00
config.example.yml Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests. 2012-07-16 09:55:20 -07:00
config.rb