aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-132-2/+2
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-085-5/+5
* Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-0/+1
* Add test to AR's counter_cache_test.rbTakehiro Adachi2013-05-181-0/+1
* Created a method to automatically find inverse associations and cachewangjohn2013-05-075-5/+5
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-0/+2
* Fix scope chaining + STIJon Leighton2013-04-051-1/+0
* failing test for #9869Neeraj Singh2013-04-051-0/+1
* has_many through obeys order on through associationNeeraj Singh2013-04-041-1/+1
* Add missing require to inheritance testCarlos Antonio da Silva2013-04-031-2/+0
* Update other counter caches on destroyIan Young2013-03-202-4/+6
* Refactor Person/Friendship relationships to be more intuitiveMack Earnhardt2013-03-172-2/+7
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-154-11/+10
* Merge pull request #9497 from route/subclass_from_attrsRafael Mendonça França2013-03-081-0/+2
|\
| * Fix ActiveRecord `subclass_from_attrs` when eager_load is false.Dmitry Vorotilin2013-03-061-0/+2
* | test case for `serialize` default values.Yves Senn2013-03-071-0/+1
|/
* test case to prevent duplicated associations with custom PK.Yves Senn2013-02-241-0/+2
* define Active Record Store accessors in a moduleSergey Nartimov2013-02-111-0/+9
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-272-0/+2
* Fix cases where delete_records on a has_many association caused errorsDerek Kraan2013-01-272-0/+6
* Describing the reason for defining BlankTopic#blank? which will never be calledAkira Matsuda2013-01-241-0/+1
* Revert "Unused methods, module, etc."Akira Matsuda2013-01-244-0/+28
* Unused methods, module, etc.Akira Matsuda2013-01-244-28/+0
* Unused test modelAkira Matsuda2013-01-241-5/+0
* Goodbye there, very special rubbish!Akira Matsuda2013-01-244-19/+1
* proxy_{owner,reflection,target} are no more availableAkira Matsuda2013-01-241-11/+1
* Unused model DeprecatedPostWithCommentAkira Matsuda2013-01-241-7/+0
* Remove warning by using a custom coderAndrew White2013-01-231-2/+16
* Merge pull request #8913 from seejee/regression_test_for_chained_preloaded_sc...Carlos Antonio da Silva2013-01-201-0/+3
|\
| * Added test case to prevent regression of chained, preloaded scopes. (#7490)Chris Geihsler2013-01-191-0/+3
* | Merge pull request #8994 from Springest/fix_default_scope_update_all_delete_allJon Leighton2013-01-181-0/+9
|\ \
| * | Fix .update_all and .delete_all when using a condition on a joined tableDerek Kraan2013-01-111-0/+9
| |/
* / Undeprecate the :extend optionJon Leighton2013-01-181-0/+14
|/
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* unused scopeAkira Matsuda2013-01-021-2/+0
* Fix broken test for postgresqlRafael Mendonça França2012-12-211-1/+1
* Serialized attribute can be serialized in an integer columnRafael Mendonça França2012-12-211-0/+21
* Allow users to choose the timestamp format in the cache keyRafael Mendonça França2012-12-101-0/+5
* Make sure the tests pass in the case closer to described in #8195Rafael Mendonça França2012-12-101-1/+1
* Do not instantiate intermediate AR objects when eager loading.Yves Senn2012-12-041-0/+10
* Added STI support to init and building associationsJason Rush2012-11-292-0/+2
* Initialize accessors to remove some warnings in Ruby 2.0Carlos Antonio da Silva2012-11-191-3/+2
* Regression test for #7238Nikita Afanasenko2012-11-131-0/+6
* :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-0/+1
* Remove ActiveRecord::ModelJon Leighton2012-10-261-35/+0
* fix warning: method redefinedkennyj2012-10-021-1/+1
* Fix reset_counters() crashing on has_many :through associations.lulalala2012-10-021-1/+1
* Revert "Fix find_in_batches with customized primary_key"Santiago Pastorino2012-09-211-5/+0
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-3/+3
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-166-20/+0