aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/author.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-101-0/+1
* Make scope arity check consistent (#36134)Rob Trame2019-05-011-0/+1
* Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-261-0/+7
* Fix preload with nested associationsRafael Mendonça França2019-02-261-0/+2
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* `get_value` needs to be a public methodGraham Turner2018-04-251-0/+3
* Association scope's own order should be prioritized over through scope's orderRyuta Kamizono2018-02-181-1/+2
* Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-111-0/+3
|\
| * When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-041-0/+3
* | delegate scope forpavel2017-10-271-0/+2
* | Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-091-0/+1
* | `has_many :through` with unscope should affect to through scopeRyuta Kamizono2017-09-071-0/+1
* | Scope in associations should treat nil as `all`Ryuta Kamizono2017-09-041-1/+1
* | `values[:includes]` in `reflection_scope` is not compatible with `through_scope`Ryuta Kamizono2017-09-021-1/+1
* | 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 type caster to `RuntimeReflection#alias_name`Jon Moss2017-05-021-0/+1
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-96/+95
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-31/+31
|/
* don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+8
* Typos in AR testsAkira Matsuda2016-02-031-1/+1
* Remove unused scopesAndy Atkinson2015-10-011-3/+0
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-1/+1
* Inform Arel we don't need additional type casting in testsSean Griffin2014-12-261-1/+1
* Fix "nonexistent" typo in testsMelissa Xie2014-12-021-3/+3
* Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+1
* make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-0/+1
* Fix broken proc syntax for 1.9.3Arthur Neves2014-05-091-1/+1
* test, regression test for has_many with instance dependent scope.Yves Senn2014-05-091-0/+2
* Remove method redefined warnings for test suiteMatthias Zirnstein2014-01-051-1/+1
* 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
* | Clean up unused associations in AR test modelAkira Matsuda2013-09-101-3/+0
|/
* Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-0/+3
* 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
* Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-131-1/+1
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-4/+4
* Fix cases where delete_records on a has_many association caused errorsDerek Kraan2013-01-271-0/+1
* proxy_{owner,reflection,target} are no more availableAkira Matsuda2013-01-241-11/+1
* Added STI support to init and building associationsJason Rush2012-11-291-0/+1
* Use method compilation for association methodsJon Leighton2012-08-101-1/+1
* rm redundant testJon Leighton2012-07-201-2/+0
* Convert association macros to the new syntaxJon Leighton2012-07-201-36/+36
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-0/+2
* Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-2/+2
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-2/+2
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-2/+2