aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
...
| * | | Move flattening records added to an association farther outSean Griffin2015-01-261-1/+2
| * | | Remove all references to `where_values` in association codeSean Griffin2015-01-254-12/+7
| * | | Remove references to `:bind` in `except`Sean Griffin2015-01-251-1/+1
| * | | Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
| * | | Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-252-2/+2
| * | | Don't rely on relation mutability when building through associationsSean Griffin2015-01-241-1/+1
| | |/ | |/|
| * | Remove unneeded requiresRafael Mendonça França2015-01-041-2/+0
| * | Return a null column from `column_for_attribute` when no column exists.Rafael Mendonça França2015-01-041-2/+2
| * | Remove deprecated automatic counter caches on `has_many :through`Rafael Mendonça França2015-01-041-14/+0
| * | Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-022-2/+2
* | | Fix n+1 query problem when eager loading nil associations (fixes #18312)Sammy Larbi2015-01-031-1/+6
|/ /
* | Cleanup methods, missing spacing and missing nodocseileencodes2015-01-021-19/+20
* | Move `#type_caster` to alias tracker initializeeileencodes2015-01-023-13/+10
* | Add `#all_includes` method to reflectionseileencodes2015-01-021-1/+3
* | Initialze `#alias_tracker` with base table nameeileencodes2015-01-023-11/+12
* | Move `alias_candiate` into `AbstractReflection`eileencodes2015-01-021-9/+7
* | Pass `connection` rather than `alias_tracker`eileencodes2015-01-022-7/+7
* | Assign the `#alias_name` to each reflectioneileencodes2015-01-021-11/+12
* | Clean up / refactor new reflection classeseileencodes2015-01-021-50/+1
* | Refactor `#get_chain` iteration to a linked listeileencodes2015-01-021-14/+21
* | Refactor `#get_chain` to remove need for `#construct_tables`eileencodes2015-01-021-14/+11
* | Move `#alias_name` to `ReflectionProxy` classeileencodes2015-01-021-10/+23
* | Clean up assignments in `#add_constraints`eileencodes2015-01-021-8/+3
* | Refactor construct_tables methodeileencodes2015-01-021-36/+10
* | Add RuntimeReflection for recursive access to chaineileencodes2015-01-021-3/+54
* | Add PolymorphicReflection and constraints methodeileencodes2015-01-021-3/+4
* | Merge pull request #15309 from iantropov/issue_12698_build_throughRafael Mendonça França2015-01-021-0/+11
|\ \
| * | Add setting of FK for throgh associations while buildingIvan Antropov2014-05-251-0/+11
* | | Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-029-76/+48
* | | Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-313-8/+13
* | | Ensure `first!` and friends work on loaded associationsSean Griffin2014-12-291-0/+1
* | | Pass a type caster when aliasing tables for joinsSean Griffin2014-12-293-6/+11
* | | `eager_load` preserves readonly flag for associationsTakashi Kokubun2014-12-301-0/+1
* | | Go through normal `where` logic when preloading associationsSean Griffin2014-12-261-1/+1
* | | Remove `klass` and `arel_table` as a dependency of `PredicateBuilder`Sean Griffin2014-12-261-1/+1
* | | Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-263-4/+11
* | | - Changed `target` to `target_reflection` to avoid warning `possible referenc...Vipul A M2014-12-251-2/+2
* | | Remove unneeded special case to calculate size for has_many :throughBogdan Gusiev2014-12-231-15/+0
* | | Improve the performance of reading belongs_to associationsSean Griffin2014-12-221-5/+6
* | | Pass connection rather than alias_trackereileencodes2014-12-131-16/+17
* | | Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-082-2/+2
* | | Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-291-1/+1
* | | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-294-10/+8
* | | Adds preloaded_records method to NullPreloaderThorsten Ball2014-11-281-0/+1
* | | Setting an association replaces records with the same id in memorySean Griffin2014-11-251-2/+18
* | | Combine aliased_table_for and aliased_name_foreileencodes2014-11-242-13/+4
* | | Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-8/+2
* | | Wrap code snippets in +, not backticks, in sdocclaudiob2014-11-201-2/+2
* | | Merge pull request #17575 from shikshachauhan/make-habtm-consistentRafael Mendonça França2014-11-191-1/+1
|\ \ \
| * | | Allow habtm class_name option to be consistent with other associationsshiksha2014-11-131-1/+1