aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Improve the performance of reading attributesSean Griffin2014-11-182-2/+2
* | Remove the unused second argument to `substitute_at`Sean Griffin2014-11-172-3/+2
* | Merge pull request #11694 from Empact/association-bind-values-not-updated-on-...Rafael Mendonça França2014-11-101-1/+7
|\ \ | |/ |/|
| * Fix that a collection proxy could be cached before the save of the owner, res...Ben Woosley2014-10-031-1/+7
* | Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-1/+1
* | default scopes should break the cache on singulur_association.alfa-jpn2014-11-081-1/+2
* | default scopes should break the cache on has_many.Aaron Patterson2014-11-071-1/+2
* | Merge pull request #17360 from bronzle/includes_and_unscopedYves Senn2014-11-051-0/+1
|\ \
| * | copy reflection_scopes’s unscoped value when building scope for preloading,...Byron Bischoff2014-10-221-0/+4
* | | Avoid unnecessary allocations/callsPablo Herrero2014-11-021-1/+1
* | | Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+1
* | | edit pass over all warningsXavier Noria2014-10-281-3/+3
* | | let's warn with heredocsXavier Noria2014-10-281-5/+8
* | | Prefix internal method with _Rafael Mendonça França2014-10-251-1/+1
|/ /
* | make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-1/+6
* | break cache if we're inside a "scoping" call. fixes #17052Aaron Patterson2014-10-141-1/+6
* | measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-3/+12
* | Merge pull request #17146 from divineforest/active-record-gsub-to-trRafael Mendonça França2014-10-071-1/+1
|\ \
| * | Change `gsub` to `tr` where possibleAlexander Balashov2014-10-061-1/+1
| |/
* / [ci skip] Clarify deletion strategies for collection proxieseileencodes2014-10-041-17/+14
|/
* Merge pull request #17093 from phiggins/remove-dynamic-send-on-built-in-callb...Aaron Patterson2014-09-291-1/+1
|\
| * Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-1/+1
* | Remove defunct ivarsBen Woosley2014-09-281-1/+0
|/
* Merge pull request #16379 from JackDanger/update-preloader-documentationRafael Mendonça França2014-09-101-23/+32
|\
| * Updating Associations::Preloader docsJack Danger Canty2014-08-171-23/+32
* | Fixed regression with referencing polymorphic assoc in eager-loadGodfrey Chan2014-09-051-1/+1
* | Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-042-2/+2
* | Merge pull request #16801 from eileencodes/refactor-scope_chain-on-through-re...Rafael Mendonça França2014-09-041-5/+1
|\ \
| * | Always add lambda to scope chain to eliminate branch in eval_scopeeileencodes2014-09-041-5/+1
* | | Follup to PR #16762eileencodes2014-09-041-4/+4
|/ /
* | get rid of shadowing warning when running tests AR and railtie tests.Yves Senn2014-09-041-2/+2
* | Break conditional branches into separate methodseileencodes2014-09-011-35/+52
* | Avoid using heredoc for user warningsGodfrey Chan2014-08-281-6/+6