aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-262-1/+23
* | | Merge pull request #15847 from sgrif/sg-encapsulate-result-typesRafael Mendonça França2014-06-261-3/+1
|\ \ \
| * | | Encapsulate knowledge of type objects on `ActiveRecord::Result`Sean Griffin2014-06-221-3/+1
* | | | `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+4
* | | | Add a deprecation cycle for `NullColumn` from `column_for_attribute`Sean Griffin2014-06-231-2/+2
|/ / /
* | | Merge pull request #15747 from sgrif/sg-trolololol-this-is-so-brokenRafael Mendonça França2014-06-192-1/+26
|\ \ \
| * | | Always update counter caches in memory when adding recordsSean Griffin2014-06-162-1/+26
* | | | Merge pull request #15803 from sgrif/sg-column-in-associationsRafael Mendonça França2014-06-191-2/+2
|\ \ \ \
| * | | | Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-2/+2
| |/ / /
* | | | Merge pull request #15772 from nbudin/sti_through_bugRafael Mendonça França2014-06-191-1/+3
|\ \ \ \
| * | | | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-1/+1
| |/ / /
* / / / Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-8/+5
|/ / /
* | | Merge pull request #15701 from zzak/issue_15496Rafael Mendonça França2014-06-131-1/+5
|\ \ \
| * | | Open extension point for defining options in build_through_recordZachary Scott2014-06-131-1/+5
* | | | Through associations should set both parent ids on join modelsSean Griffin2014-06-132-7/+15
|/ / /
* | / begin refactoring add_constraints by moving join keyseileencodes2014-06-101-12/+3
| |/ |/|
* | reuse available collection? check instead of macroeileencodes2014-06-092-4/+4
* | add has_one? method and reuse instead of checking macroeileencodes2014-06-093-3/+3