aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | fix typoLobsiinvok2016-02-201-1/+1
* | | eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-0/+13
* | | rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-4/+4
* | | allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+10
* | | Typos in AR testsAkira Matsuda2016-02-041-1/+1
* | | Typos in AR testsAkira Matsuda2016-02-032-6/+6
* | | Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-021-1/+1
|\ \ \ | |_|/ |/| |
| * | Changed id-writer to save join table records based on association primary key...Himesh2016-02-021-1/+1
* | | Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...Yves Senn2015-12-211-17/+0
* | | Merge pull request #22486 from methyl/fix-includes-for-groupped-associationYves Senn2015-12-211-0/+17
|\ \ \
| * | | Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-0/+13
* | | | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-0/+6
|\ \ \ \
| * | | | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-0/+6
* | | | | Remove legacy mysql adapterAbdelkader Boudih2015-12-171-1/+1
| |/ / / |/| | |
* | | | Bugfix collection association #create method …Bogdan Gusiev2015-11-231-0/+6
* | | | Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-161-1/+14