aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/person.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-151-0/+5
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies remaining conventions across the projectXavier Noria2016-08-061-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-6/+6
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-061-34/+34
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-28/+28
* Remove unused scopesAndy Atkinson2015-10-011-1/+0
* Dynamically modified schema and association would not be correctly resetAkira Matsuda2014-09-061-0/+2
* Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-141-0/+13
* Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-0/+1
* Refactor Person/Friendship relationships to be more intuitiveMack Earnhardt2013-03-171-1/+4
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-0/+1
* Revert "Unused methods, module, etc."Akira Matsuda2013-01-241-0/+8
* Unused methods, module, etc.Akira Matsuda2013-01-241-8/+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
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-12/+0
* reset_counters() was crashing when there were multiple belongs_to association...Dave Desrochers2012-08-211-0/+2
* Convert association macros to the new syntaxJon Leighton2012-07-201-6/+6
* Ensure that mass assignment options are preservedAndrew White2012-06-101-1/+20
* Merge pull request #5334 from courtland/masterJon Leighton2012-03-301-0/+6
|\
| * Tests for removing a HABTM association when optimistic locking is enabled.Nick Rogers2012-03-071-0/+6
* | Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-2/+2
* | Add test case to has_many through association when mass_assignment_sanitizer isRafael Mendonça França2012-03-051-0/+2
|/
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-1/+2
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-2/+2
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-2/+2
* added failing tests for has_many, has_one and belongs_to associations with st...Jakub Kuźma2011-12-211-2/+2
* Pass mass-assignment options to nested models - closes #1673.Andrew White2011-06-131-2/+6
* singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-011-6/+17
* Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-241-0/+19
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-1/+29
|\
| * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-181-0/+2
| * Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-1/+26
| * Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-0/+1
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-1/+1
* | Add support for nested through associations in JoinAssociation. Hence Foo.joi...Jon Leighton2010-10-091-0/+3
|/
* Ensure default_scope can be overwriten by association conditions.José Valim2010-07-211-0/+1
* eagerly loaded association records should respect default_scope [#2931 state:...Subba Rao Pasupuleti2010-07-211-0/+1
* Rename named_scope to scopePratik Naik2010-01-181-2/+2
* Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-0/+1
* Preload uses exclusive scope [#643 state:resolved]Frederick Cheung2008-12-261-0/+6
* fix eager loading with dynamic findersBrandon Keepers2008-06-091-1/+1
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-261-0/+5
* Make dynamic finders respect the :include on HasManyThrough associations. Cl...Michael Koziarski2008-02-181-0/+1