aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-231-0/+15
|/
* Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-0/+5
|\
| * Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-0/+5
* | Merge pull request #12137 from lann/fix_association_first_lastRafael Mendonça França2013-09-121-3/+5
|\ \
| * | Make CollectionAssociation first/last with integer fetch with queryLann Martin2013-09-091-3/+5
| |/
* | these are not real developer objects, so counting them doesn't makeAaron Patterson2013-09-111-1/+1
* | Merge pull request #12135 from dylanahsmith/avoid_empty_transactionRafael Mendonça França2013-09-111-0/+2
|\ \
| * | Avoid empty transaction from setting has_one association on new record.Dylan Thacker-Smith2013-09-111-0/+2
* | | fix deleting join models with no pkAaron Patterson2013-09-111-5/+47
|/ /
* | add a comment for sanity of other people to comeAaron Patterson2013-09-101-0/+8
* | hm:t join tables may not have a primary keyAaron Patterson2013-09-061-0/+18
|/
* Merge pull request #11958 from jetthoughts/extract_pre_process_orders_argsYves Senn2013-09-041-2/+5
|\
| * Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-2/+5
* | adding a hm:t test for singleton ar objectsAaron Patterson2013-09-031-0/+27
* | support anonymous classes on has_many associationsAaron Patterson2013-09-031-0/+18
* | Don't need to check if the scope respond to callRafael Mendonça França + Kassio Borges2013-08-311-1/+1
* | add missing fixtures fileAaron Patterson2013-08-301-1/+2
* | make sure there are actually some categories when running the testAaron Patterson2013-08-291-0/+1
* | pk should not be required for hm:t associationsAaron Patterson2013-08-291-0/+7
|/
* query the association rather than send the method for the association nameAaron Patterson2013-08-271-6/+4
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-171-1/+1
|\
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-1/+1
* | Fixing multi-word automatic inverse detection.wangjohn2013-08-151-0/+14
* | using assert_not instead of refuteRajarshi Das2013-08-131-1/+1