aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix issue #1272Brian Mathiyakom2011-06-011-1/+1
| | | | | Set reverse_order_value when asked to reverse_order(). Do the actual reversal in build_arel.
* Evaluate default scopes at the last possible moment in order to avoid ↵Jon Leighton2011-04-121-1/+1
| | | | problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped.
* isolating eager_loading? methodAaron Patterson2010-11-301-0/+11
|
* making sure scope_for_create value is cachedAaron Patterson2010-11-301-0/+12
|
* surrounding scope_for_create behaviorAaron Patterson2010-11-301-0/+14
|
* Ruby 1.8, how does it work?Aaron Patterson2010-11-301-6/+6
|
* testing combined nodes are not traversedAaron Patterson2010-11-301-0/+9
|
* adding more tests surrounding where_values_hashAaron Patterson2010-11-301-3/+19
|
* testing Relation#table_nameAaron Patterson2010-11-301-0/+21
|
* adding a test for ActiveRecord::RelationAaron Patterson2010-11-301-0/+56