aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
...
* | test-case to prevent regressions on `Association#build` with an Array.Yves Senn2013-06-221-0/+10
* | do not load all child records for inverse caseNeeraj Singh2013-06-211-0/+8
* | fix bad test by making number that fits for integerNeeraj Singh2013-06-211-1/+5
* | Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-8/+0
* | do not load all child records for inverse caseNeeraj Singh2013-06-191-0/+8
* | Merge pull request #10987 from senny/10979_association_include_returns_trueXavier Noria2013-06-181-11/+11
|\ \
| * | `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-11/+11
* | | Merge pull request #10533 from vipulnsward/fix_testRafael Mendonça França2013-06-151-1/+2
|\ \ \ | |/ / |/| |
| * | Make test name descriptive and add reference to original regression commitVipul A M2013-06-151-1/+2
* | | Merge pull request #10824 from vipulnsward/wonderfulGuillermo Iguaran2013-06-021-1/+1
|\ \ \
| * | | wonderfull => wonderfulVipul A M2013-06-021-1/+1
* | | | Remove #sum with a block was deprecated.kennyj2013-06-011-6/+0
|/ / /
* | | `implicit_readonly` is being removed in favor of calling `readonly` explicitlyYves Senn2013-05-271-4/+4
* | | Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-0/+8
|/ /
* | Created a method to automatically find inverse associations and cachewangjohn2013-05-071-0/+82
* | Confirm a record has not already been destroyed before decrementingBen Tucker2013-05-061-0/+20
* | Fix #8856 Ensure has_one association=(associate) triggers save.Chris Thompson2013-04-301-0/+16
* | Update counter cache when pushing into associationMatthew Robertson2013-04-211-0/+9
|/
* Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+16
|\
| * fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+16
* | has_many through obeys order on through associationNeeraj Singh2013-04-042-2/+8
* | Updated the error message for +find+ on an inverse_of associationwangjohn2013-04-011-2/+0
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-0/+18
|/
* test-case to prevent resetting associations when preloading twice.Yves Senn2013-03-221-0/+7
* Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-0/+25
* Merge pull request #9782 from vipulnsward/change_from_each_to_each_key_habtmRafael Mendonça França2013-03-181-2/+2
|\
| * 1. Change from each to each_value since we did not use keyVipul A M2013-03-191-2/+2
* | fix typos in AR. lots of them.Vipul A M2013-03-191-1/+1
|/
* If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+31
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-152-2/+2
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-153-4/+4
* Refactored test case with standard variable namingAnupam Choudhury2013-03-081-40/+40
* Refactored and removed unnecessary lines in the test caseAnupam Choudhury2013-03-071-3/+3
* Expand order(:symbol) to "table".symbol to prevent broken queries on PG.Yves Senn2013-02-251-1/+6
* Remove warningRafael Mendonça França2013-02-241-1/+1
* don't apply invalid ordering when preloading hmt associations.Yves Senn2013-02-241-0/+5
* test case to prevent duplicated associations with custom PK.Yves Senn2013-02-241-0/+10
* don't cache invalid subsets when preloading hmt associations.Yves Senn2013-02-141-0/+6
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-0/+7
* Fix cases where delete_records on a has_many association caused errorsDerek Kraan2013-01-271-1/+19
* Remove obsolete test fileJon Leighton2013-01-251-35/+0
* A test case name needs to start with "test_"Akira Matsuda2013-01-231-1/+1
* Preload some join table schemasAkira Matsuda2013-01-221-0/+9
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-186-21/+21
* Merge pull request #8989 from robertomiranda/use-rails-4-find-byGuillermo Iguaran2013-01-186-21/+21
|\
| * User Rails 4 find_byrobertomiranda2013-01-186-21/+21
* | Undeprecate the :extend optionJon Leighton2013-01-181-0/+12
* | CollectionProxy should be default scopedJon Leighton2013-01-181-0/+5
* | `CollectionAssociation#empty?` respects newly builded recordsYves Senn2013-01-131-0/+7
|/