aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/habtm_destroy_order_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Destroy association habtm record before destroying the record itself. Fixes ↵Tomas D'Stefano2011-07-081-0/+10
| | | | issue #402.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | 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.
* Failing test case to show that habtm join table contents are removed when a ↵Murray Steele2011-03-231-0/+34
| | | | model is destroyed but the destruction is blocked by a before_destroy.
* Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-041-0/+17
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>