aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/inverse_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-181-1/+1
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-0/+27
* Add three new rubocop rulesRafael Mendonça França2016-08-161-13/+13
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-25/+25
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-100/+100
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-7/+7
* Tweaked wording used in some tests.Sebastian McKenzie2015-10-251-4/+4
* Fix regression in inverse_of on through associationseileencodes2015-09-261-0/+13
* Fixed automatic inverse_of for models nested in moduleAndrew McCloud2014-06-151-0/+12
* Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_ofRafael Mendonça França2014-06-131-0/+11
|\
| * use name specified by 'as' for automatic inverse association to avoid reflect...Andrew S. Brown2014-06-101-0/+11
* | Fix inverse associations testLeandro Facchinetti2014-06-041-1/+1
|/
* inversed instance should not be reloaded after stale state was changedDmitry Polushkin2013-10-131-0/+12
* add regression test for set_inverse_instance on add_to_targetArthur Neves2013-10-041-0/+13
* Fixing multi-word automatic inverse detection.wangjohn2013-08-151-0/+14
* using assert_not instead of refuteRajarshi Das2013-08-131-1/+1
* do not load all child records for inverse caseNeeraj Singh2013-06-211-0/+8
* fix bad test by making number that fits for integerNeeraj Singh2013-06-211-1/+5
* Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-8/+0
* do not load all child records for inverse caseNeeraj Singh2013-06-191-0/+8
* Created a method to automatically find inverse associations and cachewangjohn2013-05-071-0/+82
* Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+16
|\
| * fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+16
* | Updated the error message for +find+ on an inverse_of associationwangjohn2013-04-011-2/+0
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-0/+18
|/
* Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-0/+25
* Fix issue with collection associations and first(n)/last(n)Carlos Antonio da Silva2012-11-011-0/+13
* Use inversed parent for first and last child of has_many associationbrainopia2012-08-181-0/+6
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-9/+9
* find and replace deprecated keysJon Leighton2012-04-271-9/+9
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-9/+9
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-18/+18
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-4/+4
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-4/+4
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-39/+2
* Don't not remove double negativesJon Leighton2011-01-071-1/+1
* fixing merge errorsAaron Patterson2011-01-041-67/+0
* Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-031-7/+7
* removing unused variablesAaron Patterson2010-11-221-2/+0
* removing many unused variablesAaron Patterson2010-11-161-2/+2
* Removed warnings when a variable is shadowedŁukasz Strzałkowski2010-07-191-2/+2
* Use better assertion methods for testingNeeraj Singh2010-05-191-9/+9
* Fix pg testJeremy Kemper2009-12-281-1/+2
* Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFou...Murray Steele2009-12-281-2/+15
* Provide a slightly more robust we_can_set_the_inverse_on_this? method for pol...Murray Steele2009-12-281-1/+16
* Add inverse polymorphic association support. [#3520 state:resolved]George Ogata2009-12-281-19/+81
* Add more tests for the various ways we can assign objects to associations. [#...Murray Steele2009-12-281-11/+159