aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix find_in_batches with customized primary_keyToshiyuki Kawanishi2012-09-161-0/+5
* refactor store_accessorMatt Jones2012-09-131-1/+9
* Fix nested association referencesJon Leighton2012-09-121-0/+1
* Accept belongs_to assoc. keys in ActiveRecord queriesbeerlington2012-09-111-0/+3
* Merge pull request #7532 from al2o3cr/fix_store_bugsRafael Mendonça França2012-09-051-0/+1
|\
| * correctly flag changed attributes in AR::Store, combine multiple calls to sto...Matt Jones2012-09-051-0/+1
* | Fix pluck when columns/tables are reserved words.Ian Lesperance2012-09-051-0/+3
|/
* test cleanup, remove ruby_type because it's no longer neededYves Senn2012-09-031-4/+0
* rewrite inheritance tests with a custom inheritance_columnYves Senn2012-09-031-0/+10
* set the configured #inheritance_column on #become (#7503)Yves Senn2012-09-031-0/+14
* Add a test to make sure preloading properly merges association and default sc...Pratik Naik2012-08-282-0/+11