aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* check bind parameter uniquenessAaron Patterson2014-01-131-1/+6
* Remove method redefined warnings for test suiteMatthias Zirnstein2014-01-051-1/+1
* Merge pull request #10134 from derikson/collection_proxy_select_with_multiple...Rafael Mendonça França2014-01-031-1/+5
|\
| * Changed ActiveRecord::Associations::CollectionProxy#select to take multiple a...Dan Erikson2013-04-081-1/+5
* | Improve the tests to not call assert_nothing_raisedRafael Mendonça França2014-01-011-4/+1
* | https://github.com/rails/rails/commit/2075f39d726cef361170218fd16421fc52bed5a...Vipul A M2013-12-311-0/+14
* | On destroying do not touch destroyed belongs to association.Paul Nikitochkin2013-12-231-0/+8
* | Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-5/+3
* | Add a failing test for assigning nil to a polymorphic belongs_to not nullifyi...Jeremy Kemper2013-12-171-0/+13
* | make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-0/+7
* | Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-111-1/+2
* | Raise `ArgumentError` when `has_one` is used with `counter_cache`Godfrey Chan2013-11-292-0/+16
* | updating options documentation for associationsKuldeep Aggarwal2013-11-291-8/+3
* | changed update counter to act on unscoped modelheruku2013-11-261-0/+8
* | Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-251-0/+11
* | Fix some minor typos [ci skip]Vipul A M2013-11-261-1/+1
* | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-0/+9
* | Merge pull request #12918 from versioncontrol/rails-12866Rafael Mendonça França2013-11-161-0/+4
|\ \
| * | Checks to see if the record contains the foreign_key to set the inverse autom...Edo Balvers2013-11-161-0/+4
* | | Fix test name [ci skip]Carlos Antonio da Silva2013-11-141-1/+1
* | | Fix that eager loading of polymorphic associations did not work with associat...David Heinemeier Hansson2013-11-142-3/+1
* | | Prevent the counter cache from being decremented twicedm1try2013-11-111-0/+9
* | | Fixes problem with replacing has_one association record with itselfDenis Redozubov2013-11-111-2/+16
* | | Mark broken test as pendingRafael Mendonça França2013-11-081-0/+2
|/ /
* | Fix wrong behavior where associations with dependent: :destroy optionsRafael Mendonça França2013-11-011-4/+3
* | Test with the right associationRafael Mendonça França2013-11-011-3/+3
* | :cut: whitespaceAaron Patterson2013-10-301-2/+2
* | Fix broken delete_all test, which will now be failing since #delete_all is br...David Heinemeier Hansson2013-10-281-4/+4
* | Add failing test for preloading with a polymorphic association and using the ...David Heinemeier Hansson2013-10-281-1/+10
* | Assert the return value in the testRafael Mendonça França2013-10-271-1/+1
* | Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-0/+4
* | Merge pull request #12621 from laurocaetano/fix_has_one_association_with_prim...Rafael Mendonça França2013-10-241-0/+11
|\ \
| * | Save association when primary key is manually setlaurocaetano2013-10-241-0/+11
* | | Merge branch 'master' into joindepAaron Patterson2013-10-151-0/+12
|\| |
| * | inversed instance should not be reloaded after stale state was changedDmitry Polushkin2013-10-131-0/+12
* | | this method does not exist anymoreAaron Patterson2013-10-141-8/+0
|/ /
* | Merge branch 'builder-instances'Rafael Mendonça França2013-10-091-2/+1
|\ \
| * | Define the association extensions without need to have a builderRafael Mendonça França2013-10-091-2/+1
* | | Using flat_map instead of map and flattenArun Agrawal2013-10-091-1/+1
|/ /
* | add regression test for set_inverse_instance on add_to_targetArthur Neves2013-10-041-0/+13
* | preheat habtm column cacheAaron Patterson2013-10-021-0/+1
* | Squashed commit of the following:Aaron Patterson2013-10-013-13/+13
* | Removed where_values_hash from AR::NullRelationPaul Nikitochkin2013-09-281-0/+23
* | adding a test to demonstrate how to use STI subclasses on the far rightAaron Patterson2013-09-271-0/+7
* | fix .find when inverse is setArthur Neves2013-09-251-0/+12
* | Merge pull request #12359 from arthurnn/inverse_on_callbacksRafael Mendonça França2013-09-251-0/+7
|\ \
| * | Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-0/+7
* | | push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-241-1/+0
* | | we can't sort by lhs since the middle records have difference classesAaron Patterson2013-09-231-1/+2
* | | adding a test for sti on middle tables with sorting on RHSAaron Patterson2013-09-231-1/+14