aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* define enum methods inside a `Module` to make them overwritable.Yves Senn2013-11-051-0/+5
* Explicit mapping for enumYury Korolev2013-11-021-0/+1
* Fix to work on Ruby 1.9.3, example and changelog improvementsCarlos Antonio da Silva2013-11-021-2/+2
* Added ActiveRecord::Base#enum for declaring enum attributes where the values ...David Heinemeier Hansson2013-11-021-2/+4
* Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-0/+3
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-145-0/+19
* Port test from cf1904f to avoid future regressionPrem Sichanugrist2013-10-031-0/+5
* adding a test to demonstrate how to use STI subclasses on the far rightAaron Patterson2013-09-272-0/+3
* Merge pull request #12359 from arthurnn/inverse_on_callbacksRafael Mendonça França2013-09-251-1/+5
|\
| * Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-1/+5
* | adding a test for sti on middle tables with sorting on RHSAaron Patterson2013-09-231-0/+5
|/
* Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-0/+7
|\
| * Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-0/+7
* | More unused associations in AR test modelsAkira Matsuda2013-09-108-13/+0
* | :scissors: [ci skip]Carlos Antonio da Silva2013-09-101-1/+1
* | change function def self.table_name to self.table_nameRajarshi Das2013-09-102-5/+3
* | Clean up unused associations in AR test modelAkira Matsuda2013-09-101-3/+0
|/
* pk should not be required for hm:t associationsAaron Patterson2013-08-291-0/+8
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-1711-3/+21
|\
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-1711-3/+21
* | Fixing multi-word automatic inverse detection.wangjohn2013-08-152-0/+3
* | Changing the def self.table_name to self.table_name in the column_name.rbKarunakar (Ruby)2013-08-031-2/+2
* | this code is dead, removingAaron Patterson2013-08-011-6/+0
|/
* :scissors: [ci skip]Carlos Antonio da Silva2013-07-251-1/+1
* change function def self.table_name to self.table_nameRajarshi Das2013-07-252-5/+3
* More unused associations in AR test modelsAkira Matsuda2013-07-258-13/+0
* Clean up unused associations in AR test modelAkira Matsuda2013-07-251-3/+0
* Make sure that a joins Relation can be merged with has_many :through + associ...Akira Matsuda2013-07-101-1/+5
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-7/+0
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-031-5/+0
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-023-16/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-16/+1
* Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-303-0/+13
* 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