aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | [ci skip] Updated documentation syntax of other parameter for rdocTom Kadwill2014-08-271-1/+1
* | Merge pull request #16705 from tomkadwill/documented_many_block_paramZachary Scott2014-08-261-1/+1
|\ \
| * | [ci skip] Updated documentation syntax of block parameter for rdoc Tom Kadwill2014-08-261-1/+1
* | | [ci skip] Updated include to reference record parameter for rdocTom Kadwill2014-08-261-1/+1
|/ /
* | [ci skip] Updated documentation syntax of block parameter for rdocTom Kadwill2014-08-261-1/+1
* | Only merge scopes with zero arity in has_many throughAgis-2014-08-201-1/+5
* | Remove to_s from reflection.type in add_constraintseileencodes2014-08-181-2/+2
* | Don't expose these new APIs yet (added in 877ea78 / #16189)Godfrey Chan2014-08-161-1/+1
* | Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-1/+1
* | Spelling errorsjbsmith862014-08-141-1/+1
* | Don't delegate Reflection#chain to ThroughAssociationeileencodes2014-08-041-2/+2
* | Merge pull request #16378 from JackDanger/doc-fix-in-join-association-build_c...Rafael Mendonça França2014-08-021-1/+1
|\ \ | |/ |/|
| * updating documented parameter for build_constraintJack Danger Canty2014-08-021-1/+1
* | Use available method rather than macro name checkingCarlos Antonio da Silva2014-07-311-1/+1
* | Refactor join_keys to remove complex conditionalseileencodes2014-07-311-8/+3
* | Redefine macro checks for reflectionseileencodes2014-07-301-1/+1
|/
* remove blank lines in the start of the ActiveRecord filesPonomarev Nikolay2014-07-292-2/+0
* [ci skip] Fix documentation for @macro and reflection typeseileencodes2014-07-271-1/+1
* Remove unused 1:1 association :remote optionChris Griego2014-07-161-1/+1
* Merge pull request #15266 from dv/use_counter_cache_for_empty_callGodfrey Chan2014-07-151-0/+8
|\
| * If a counter_cache exists, use it for #empty?David Verhasselt2014-06-101-0/+8
* | Add a `required` option to singular associationsSean Griffin2014-07-042-1/+13
* | Merge pull request #12450 from iantropov/masterRafael Mendonça França2014-06-273-5/+16
|\ \
| * | Fix bug, when ':dependent => :destroy' option violates foreign key constraint...Ivan Antropov2013-10-263-9/+18