aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move BEGIN and COMMIT into IGNORED_SQL rather than having them as a special ↵Jon Leighton2011-06-122-2/+1
| | | | | | | | case in assert_queries
* | Don't wrap operations on collection associations in transactions when they ↵benedikt2011-06-122-3/+54
|/ | | | are not needed, so the connection adapter does not send empty BEGIN COMMIT transactions blocks to the database.
* Ensure engine migrations are copied in the same sequence that they are required.Brian Quinn2011-06-101-1/+1
|
* don't reinitialize the arel_table unless the table_name changesDamien Mathieu2011-06-091-1/+2
|
* Print out information about whether the identity map is on or off when ↵Jon Leighton2011-06-093-6/+14
| | | | running unit tests
* Update the RUNNING_UNIT_TESTS fileJon Leighton2011-06-091-10/+5
|
* Merge pull request #1591 from smartinez87/unusedJosé Valim2011-06-082-3/+3
|\ | | | | Fix "warning: assigned but unused variable" on AR tests
| * Remove unused 'y' variable.Sebastian Martinez2011-06-081-2/+2
| |
| * Remove unused 'quoted_column_names' variable.Sebastian Martinez2011-06-081-1/+1
| |
* | No need to create a new Arel::Table, as the arel_table method already ↵Rodrigo Navarro2011-06-081-1/+0
|/ | | | creates a new one
* Do not hardcode :id as it was ignored by mass assignment filterRaimonds Simanovskis2011-06-081-2/+2
| | | As a result test was failing on Oracle where ids are assigned by default from 1000
* remove warning: assigned but unused variableSantiago Pastorino2011-06-082-2/+2
|
* Allow polymorphic has_one to work when the association is set before the ↵Jon Leighton2011-06-082-3/+12
| | | | owner has been saved. Fixes #1524.
* When you add a record to a polymorphic has_one, you should be able to access ↵Jon Leighton2011-06-083-3/+6
| | | | the owner from the associated record
* fix typoAlexandr Zykov2011-06-081-1/+1
|
* This way asserting that updated_at was changed in touch look more obvious.Dmitriy Kiriyenko2011-06-071-0/+1
|
* Do not use default_scope in ActiveRecord::Persistence#touch.Dmitriy Kiriyenko2011-06-072-1/+10
|
* Fix a couple of helper requires that were missed. This was causing the tests ↵Jon Leighton2011-06-072-2/+2
| | | | to fail to run on 1.8.7.
* Merge pull request #1474 from ganeshkumar/update_column_changesJosé Valim2011-06-071-0/+9
|\ | | | | added tests for update_column
| * added more tests for update_columnganesh2011-06-041-0/+9
| |
* | make sure AR isolated tests set the environment variableAaron Patterson2011-06-061-1/+2
| |
* | oops! add parens so the block is properly boundAaron Patterson2011-06-061-1/+1
| |
* | set the environment variable from the rake fileAaron Patterson2011-06-0618-18/+6
| |
* | more oracle fixesAaron Patterson2011-06-061-1/+1
| |
* | do not muck with the load path, that is the test task responsibilityAaron Patterson2011-06-061-6/+0
| |
* | updating configs for oracleAaron Patterson2011-06-062-20/+14
| |
* | add test to the include pathAaron Patterson2011-06-061-0/+1
| |
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-06123-123/+125
| |
* | Make sure that the build/drop database rake tasks take account of the ↵Jon Leighton2011-06-061-12/+16
| | | | | | | | test/config.yml config
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-068-24/+30
|\ \ | | | | | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS
| * | Revert "updated Changelog "Xavier Noria2011-06-061-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 79990505e5080804b53d81fec059136afa2237d7. Conflicts: activerecord/CHANGELOG Reason: Sorry, CHANGELOGs can't be edited via docrails.
| * | comment the recorder methodsVijay Dev2011-06-071-3/+3
| | |
| * | up and down are no longer class methods in a migrationVijay Dev2011-06-071-1/+1
| | |
| * | Remove trailing white-spacesGuillermo Iguaran2011-06-051-1/+1
| | |
| * | add a missing "the" and normalize the use of periods.Waynn Lue2011-06-031-9/+9
| | |
| * | Revise documentation indentation from [79990505e5080804b53d81fec059136afa2237d7]Prem Sichanugrist2011-06-031-6/+6
| | |
| * | updated Changelog ganesh2011-06-041-12/+6
| | |
| * | styling changesVijay Dev2011-06-021-3/+3
| | |
| * | Edited activerecord/lib/active_record/transactions.rb via GitHubAyose2011-06-011-1/+1
| | |
| * | The URL http://dev.mysql.com/doc/refman/5.0/en/savepoints.html is no longer ↵Ayose2011-06-011-1/+1
| | | | | | | | | | | | available
| * | Fix font styling on associations.rbSebastian Martinez2011-05-261-4/+4
| | |
| * | Correct TESTOPTS specification in activerecord/RUNNING_UNIT_TESTSTekin2011-05-261-1/+1
| | |
* | | Fix adapter_test.rb to make no assumptions about the database nameJon Leighton2011-06-052-4/+16
| | |
* | | Fix typoJon Leighton2011-06-051-1/+1
| | |
* | | Merge pull request #1462 from arunagw/test_added_for_namedscopeJosé Valim2011-06-053-1/+14
|\ \ \ | | | | | | | | Test added for namedscope target.
| * | | Test added for namedscope target.Arun Agrawal2011-06-033-1/+14
| | | |
* | | | Bring back oracle specific crapJon Leighton2011-06-041-0/+6
| | | |
* | | | Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-04166-571/+360
| |_|/ |/| | | | | | | | 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.
* | | Don't double assign attributes - closes #1467.Andrew White2011-06-031-1/+0
|/ /
* | Fix broken test. You know, the merge button will be the end of us...Jon Leighton2011-06-011-3/+3
| |