aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/support
Commit message (Collapse)AuthorAgeFilesLines
* Use method compilation for association methodsJon Leighton2012-08-101-2/+2
| | | | | | | | | Method compilation provides better performance and I think the code comes out cleaner as well. A knock on effect is that methods that get redefined produce warnings. I think this is a good thing. I had to deal with a bunch of warnings coming from our tests, though.
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-1/+1
|
* added test for #3732Rick Martinez2012-02-101-1/+2
|
* Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-3/+3
| | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base.
* Changed the old logger to new active support loggerKarunakar (Ruby)2011-12-211-2/+2
|
* Add require 'pathname' as it has not already been required in some circumstancesJon Leighton2011-06-171-0/+1
|
* Add support for using an ARCONFIG environment variable to specify the ↵Jon Leighton2011-06-121-4/+7
| | | | location of the config.yml file for running the tests
* Print out information about whether the identity map is on or off when ↵Jon Leighton2011-06-091-1/+1
| | | | running unit tests
* Fix adapter_test.rb to make no assumptions about the database nameJon Leighton2011-06-051-2/+9
|
* Fix typoJon Leighton2011-06-051-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-042-0/+52
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.