aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #14735 from byroot/idempotent-counter-cachesAaron Patterson2014-04-141-0/+21
|\
| * Write the failing test case for concurrent counter cacheJean Boussier2014-04-131-0/+21
* | Just call read_attribute, no need to use `send`.Lauro Caetano2014-04-141-3/+3
|/
* :scissors:Rafael Mendonça França2014-04-111-2/+2
* Merge pull request #14711 from swoker/activerecord_fix_aggregate_methods_with...Rafael Mendonça França2014-04-111-0/+8
|\
| * fix exception on polymorphic associations with predicatesSimon Woker2014-04-111-0/+8
* | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-1/+13
|\ \ | |/ |/|
| * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-1/+13
* | Fix the test defining the models in the right placeRafael Mendonça França2014-04-041-15/+5
* | Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-041-0/+18
|\ \
| * | [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-0/+18
* | | Remove unused variableRafael Mendonça França2014-04-041-1/+1
* | | Fix error when using `with_options` with lambda.Lauro Caetano2014-04-031-0/+9
* | | Merge pull request #14546 from eileencodes/fix_delete_all_to_not_use_IN_state...Aaron Patterson2014-03-311-1/+16
|\ \ \
| * | | add test to compare sql statements in delete_all queryeileencodes2014-03-311-1/+16
* | | | Simplify Preloader#grouped_records code.thedarkone2014-03-301-4/+4
* | | | Fix polymorphic preloads on NOT NULL _type columns.thedarkone2014-03-301-0/+11
|/ / /
* | | Merge pull request #14154 from al2o3cr/issue12770Aaron Patterson2014-03-271-0/+9
|\ \ \
| * | | Pass a base relation to build_default_scope when joiningMatt Jones2014-02-211-0/+9
* | | | Use rails convetionsRafael Mendonça França2014-03-251-2/+2
* | | | Merge pull request #14390 from huoxito/true-touchRafael Mendonça França2014-03-251-0/+11
|\ \ \ \
| * | | | Still touch associations when theres no timestampWashington Luiz2014-03-141-0/+11
* | | | | Add counter cache test for class_nameArthur Neves2014-03-171-0/+11
* | | | | `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+10
* | | | | Merge pull request #14380 from tgxworld/use_teardown_helper_method_in_activer...Yves Senn2014-03-152-3/+3
|\ \ \ \ \
| * | | | | Use teardown helper method.Guo Xiang Tan2014-03-142-3/+3
| |/ / / /
* / / / / Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-141-0/+24
|/ / / /
* | | | passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-3/+3
* | | | Replace map.flatten with flat_map in activerecordErik Michaels-Ober2014-03-031-1/+1
* | | | Remove unnecessary db call when replacing.Arthur Neves2014-02-281-0/+10
* | | | `includes` uses SQL parsing when String joins are involved.Yves Senn2014-02-281-0/+9
* | | | let `insert_record` actuall save the object.Aaron Patterson2014-02-251-0/+21
|/ / /
* | | Revert "context in validation goes through has many relationship"Aaron Patterson2014-02-201-10/+0
* | | Add regression test for collection proxy readerArthur Neves2014-02-201-0/+7
|/ /
* | Don't skip tests if they are not broken. Just don't define theyRafael Mendonça França2014-02-161-2/+2
* | make a singleton for AssociationScopeAaron Patterson2014-02-141-2/+1
* | pass the association and connection to the scope methodAaron Patterson2014-02-141-2/+4
* | context in validation goes through has many relationshipKevin Casey2014-02-081-0/+10
* | fix HABTM w/out primary key errors on destructionKevin Casey2014-02-021-0/+10
* | Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-313-0/+30
* | Fix indent on test case [ci skip]Carlos Antonio da Silva2014-01-281-2/+2
* | Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-61/+90
* | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-212-0/+14
* | Extract a method to simplify setup codeCarlos Antonio da Silva2014-01-161-23/+27
* | Use minitest's skip rather than conditionals + early returnsCarlos Antonio da Silva2014-01-161-47/+38
* | Move AR test classes inside the test caseCarlos Antonio da Silva2014-01-161-38/+46
* | 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