aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* extract PG range tests from datatype_test.rb into range_test.rbYves Senn2013-12-132-282/+320
* Add a bunch of Relation -> Array delegate methods to the whitelist. This won'...Jeremy Kemper2013-12-121-28/+14
* Use `public_send` instead of just use `send`.Lauro Caetano2013-12-121-4/+4
* Use a whitelist to delegate methods to arrayLauro Caetano2013-12-121-57/+32
* Remove delegation test.laurocaetano2013-12-121-17/+46
* make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-0/+7
* Get rid of hack for freezing time on AR testsCarlos Antonio da Silva2013-12-122-23/+5
* Merge pull request #13264 from laurocaetano/fix_dynamic_finder_with_reserved_...Rafael Mendonça França2013-12-111-0/+8
|\
| * Prevent invalid code when using dynamic finders with Ruby's reserved words.Lauro Caetano2013-12-111-0/+8
* | Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-111-1/+2
* | Revert "Merge pull request #12518 from vipulnsward/remove_count_options"Rafael Mendonça França2013-12-111-1/+1
|/
* Merge pull request #13236 from jetthoughts/13230_type_cast_bug_in_agr_functionsYves Senn2013-12-101-0/+4
|\
| * Fix type cast on group sum with custom expressionPaul Nikitochkin2013-12-101-0/+4
* | Fix warnings on mysql2 explain testCarlos Antonio da Silva2013-12-101-3/+3
* | Merge pull request #13248 from yahonda/support_mysql573_explainJeremy Kemper2013-12-091-3/+3
|\ \
| * | Support MySQL 5.7 explainYasuo Honda2013-12-101-3/+3
| |/
* / Remove `DEFAULT NULL` for primary key column to support MySQL 5.7.3Yasuo Honda2013-12-102-6/+6
|/
* Add integration test for #12459George Guimarães2013-12-051-0/+8
* Remove deprecated call to Relation#allCarlos Antonio da Silva2013-12-051-1/+1
* polymorphic belongs_to association with touch: true updates old record correctlySeverin Schoepke2013-12-051-16/+42
* Merge pull request #12403 from thedarkone/attr-method-missing-fixRafael Mendonça França2013-12-041-2/+33
|\
| * Fix AR#method_missing re-dispatching into overwritten attribute methods.thedarkone2013-09-291-2/+33
* | Fix offset with last.Lauro Caetano2013-12-031-0/+9
* | `connection.type_to_sql` returns a `String` for unmapped types.Yves Senn2013-12-031-0/+4
* | Fix bad usage of #select with hashCarlos Antonio da Silva2013-12-031-1/+1
* | Currently, we clear query_cache in cache block finish, even if we may already...Vipul A M2013-12-031-0/+9
* | Introduce a context for rendering fixtures ERB.Victor Costan2013-12-031-0/+55
* | Make the tests break againRafael Mendonça França2013-12-021-2/+0
* | Merge pull request #13111 from akshay-vishnoi/typoCarlos Antonio da Silva2013-11-301-1/+1
|\ \
| * | Typo fixes [ci skip]Akshay Vishnoi2013-11-301-1/+1
* | | Raise `ArgumentError` when `has_one` is used with `counter_cache`Godfrey Chan2013-11-292-0/+16
|/ /
* | updating options documentation for associationsKuldeep Aggarwal2013-11-291-8/+3
* | Merge pull request #13054 from senny/remove_oracle_testsYves Senn2013-11-271-17/+0
|\ \
| * | the oracle adapter lives in a gem. Tests should live there as well.Yves Senn2013-11-261-17/+0
* | | Merge pull request #13061 from laurocaetano/fix-uniqueness-validation-for-ali...Rafael Mendonça França2013-11-261-0/+8
* | | changed update counter to act on unscoped modelheruku2013-11-261-0/+8
* | | remove leftover firebird adapter tests.Yves Senn2013-11-263-148/+0
|/ /
* | `rename_index`: add the new index before removing the old one.Yves Senn2013-11-261-6/+19
* | Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-251-0/+11
* | require the files we testAaron Patterson2013-11-251-0/+1
* | Merge pull request #13034 from vipulnsward/some_typosRafael Mendonça França2013-11-251-1/+1
|\ \
| * | Fix some minor typos [ci skip]Vipul A M2013-11-261-1/+1
* | | Merge pull request #13029 from akshay-vishnoi/documentationYves Senn2013-11-251-4/+4
|\ \ \ | |/ / |/| |
| * | `delgated` => `delegated`Akshay Vishnoi2013-11-251-4/+4
* | | Fix validation on uniqueness of empty associationEvgeny Li2013-11-221-0/+19
* | | replace custom Time stubbing with `travel` and `travel_to`.Yves Senn2013-11-211-37/+7
* | | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-203-1/+16
* | | swap arguments for some `assert_equal` statements => `expected, actual`Yves Senn2013-11-201-6/+6
* | | use arel nodes to represent non-string `order_values`.Yves Senn2013-11-192-5/+13
* | | Revert "Properly require database tasks so we have access to the raised const...Rafael Mendonça França2013-11-193-3/+0