aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/extension_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.
* Use proper objects to do the work to build the associations (adding methods, ↵Jon Leighton2011-02-211-8/+12
| | | | callbacks etc) rather than calling a whole bunch of methods with rather long names.
* Propagate association extensions to scopes called on the association.Glenn Vanderburg2011-02-011-0/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* avoids warnings about mismatched indentations in Ruby 1.9.2Xavier Noria2010-08-191-8/+5
|
* fixed indentation in test casesMark Turner2010-08-111-2/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* applied patch to fix the associations with blocks in modules bug from an old ↵Adeh DeSandies2008-09-201-0/+15
| | | | trac ticket
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move tests to casesJeremy Kemper2008-01-181-0/+47
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de