aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-3/+31
* improve error message when include assertions failMichael Grosser2016-09-168-69/+69
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-0/+27
* Don't unnecessarily load a belongs_to when saving.James Coleman2016-08-261-0/+6
* Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-2/+20
|\
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-2/+20
* | Merge pull request #26009 from kamipo/fix_inconsistent_finder_methods_signatureRafael França2016-08-171-9/+0
|\ \
| * | Fix inconsistent the signature of finder methods for collection associationRyuta Kamizono2016-08-161-9/+0
* | | Merge pull request #26021 from kamipo/finder_bang_method_should_call_non_bang...Rafael França2016-08-171-0/+40
|\ \ \
| * | | Finder bang method should call non bang methodRyuta Kamizono2016-08-161-0/+40
| |/ /
* / / Fix count which would sometimes force a DISTINCTMaxime Lapointe2016-08-161-8/+17
|/ /
* | Merge pull request #26097 from Dagnan/fix_recordnotfound_args_rebasedRafael França2016-08-161-0/+12
|\ \
| * | When calling association.find RecordNotFound is now raised with the same argu...Michel Pigassou2016-08-131-0/+12
* | | Merge pull request #26162 from kamipo/take_respects_dirty_targetRafael França2016-08-161-4/+8
|\ \ \
| * | | `CollectionProxy#take` should respect dirty targetRyuta Kamizono2016-08-141-4/+8
| |/ /
* / / Add three new rubocop rulesRafael Mendonça França2016-08-1615-127/+127
|/ /
* | Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-075-6/+0
* | applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-062-129/+129
* | remove redundant curlies from hash argumentsXavier Noria2016-08-062-7/+5
* | modernizes hash syntax in activerecordXavier Noria2016-08-0617-671/+671
* | applies new string literal convention in activerecord/testXavier Noria2016-08-0620-961/+961
|/
* Merge pull request #25767 from kamipo/association_name_is_the_same_as_join_ta...Rafael França2016-07-271-0/+6
|\
| * Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+6
* | Add an assertion to the tests that should be loaded the target.Ryuta Kamizono2016-07-271-0/+38
* | Make `force_signal37_to_load_all_clients_of_firm` to privateRyuta Kamizono2016-07-261-4/+6
* | adds missing requiresXavier Noria2016-07-241-0/+1
* | systematic revision of =~ usage in ARXavier Noria2016-07-232-6/+6
* | Add `exists?` and `update_all` to `CollectionProxy` for respects an associati...Ryuta Kamizono2016-07-201-0/+20
* | Merge pull request #25578 from kamipo/move_warning_about_composite_primary_ke...Rafael França2016-07-201-1/+1
|\ \
| * | Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-1/+1
| |/
* / Refactored test `HasManyAssociationsTest#test_do_not_call_callbacks_for_delet...bogdanvlviv2016-07-171-1/+2
|/
* Fix `calculate` with a string value in `from` and eager loadingRyuta Kamizono2016-06-131-0/+4
* Allow Oracle bind parameter syntax `:a1`Yasuo Honda2016-06-081-1/+1
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-0/+1
* Fix `has_one` `enum` `where` queriesJon Moss2016-05-261-0/+18
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-182-3/+3
* Give more context from `AssociationMismatchError`Sean Griffin2016-05-121-1/+1
* Rename test methodMolchanov Andrey2016-05-121-1/+1
* Fix counter_cache double increment bugTom Kadwill2016-04-281-0/+11
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+14
* Merge pull request #22518 from RochesterinNYC/better-error-message-for-includ...Arthur Nogueira Neves2016-03-181-0/+17
|\
| * Improve clarity of error message for missing includes and eager_loadJames Wen2016-01-281-0/+17
* | don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+12
* | Remove duplicated `test_` prefix [ci skip]Ryuta Kamizono2016-03-021-1/+1
* | Respect through association scopes when used with polymorphicSean Griffin2016-02-291-0/+7
* | Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-0/+32
|\ \
| * | Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-0/+32
* | | remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-224-10/+10