| Commit message (Expand) | Author | Age | Files | Lines |
* | Only merge scopes with zero arity in has_many through | Agis- | 2014-08-20 | 1 | -1/+5 |
* | Don't delegate Reflection#chain to ThroughAssociation | eileencodes | 2014-08-04 | 1 | -2/+2 |
* | Use available method rather than macro name checking | Carlos Antonio da Silva | 2014-07-31 | 1 | -1/+1 |
* | Through associations should set both parent ids on join models | Sean Griffin | 2014-06-13 | 1 | -6/+10 |
* | reuse available belongs_to? method | eileencodes | 2014-06-03 | 1 | -3/+2 |
* | Merge pull request #14573 from habermann24/has_many_through_fix | Rafael Mendonça França | 2014-04-22 | 1 | -2/+4 |
|\ |
|
| * | Minor improvement: Use the merge method on the relation instead of instance_e... | Jan Habermann | 2014-04-03 | 1 | -1/+1 |
| * | Simplify the code in target_scope | Jan Habermann | 2014-04-03 | 1 | -5/+2 |
| * | Properly handle scoping with has_many :through. Fixes #14537. | Jan Habermann | 2014-04-03 | 1 | -2/+7 |
|/ |
|
* | use drop and avoid a range object | Aaron Patterson | 2013-08-01 | 1 | -1/+1 |
* | Simplify/fix implementation of default scopes | Jon Leighton | 2013-06-28 | 1 | -1/+1 |
* | optimize some code around merge | Vipul A M | 2013-04-03 | 1 | -1/+1 |
* | Migration of docs to 1.9 hash syntax | AvnerCohen | 2012-10-23 | 1 | -1/+1 |
* | Deprecate ActiveRecord::Base.scoped. | Jon Leighton | 2012-07-27 | 1 | -1/+1 |
* | @stale_state should be nil when a model isn't saved. | kennyj | 2012-04-13 | 1 | -1/+1 |
* | Not need to pass join attributes to association build | Rafael Mendonça França | 2012-03-07 | 1 | -3/+7 |
* | Fix #3247. | Jon Leighton | 2011-11-03 | 1 | -1/+1 |
* | Don't include any of includes, preload, joins, eager_load in the through asso... | Jon Leighton | 2011-09-07 | 1 | -1/+1 |
* | Nested through associations: preloads from the default scope of a through mod... | Jon Leighton | 2011-09-06 | 1 | -1/+1 |
* | Ignore :includes on through associations | Andrew White | 2011-05-24 | 1 | -1/+1 |
* | Don't use select() values from the join model of a through association. Fixes... | Jon Leighton | 2011-05-11 | 1 | -3/+4 |
* | Don't use mass-assignment protection when applying the scoped.scope_for_creat... | Jon Leighton | 2011-05-10 | 1 | -1/+3 |
* | Resolve some TODO comments which I decided did not need anything done | Jon Leighton | 2011-03-12 | 1 | -7/+4 |
* | Rename Reflection#through_reflection_chain and #through_options to Reflection... | Jon Leighton | 2011-03-10 | 1 | -3/+2 |
* | Move the code which builds a scope for through associations into a generic As... | Jon Leighton | 2011-03-10 | 1 | -128/+0 |
* | Fix test_has_many_association_through_a_has_many_association_with_nonstandard... | Jon Leighton | 2011-03-07 | 1 | -1/+1 |
* | Refactor ThroughAssociation#join_to to be much smaller, and independent of co... | Jon Leighton | 2011-03-06 | 1 | -84/+28 |
* | Refactor ThroughAssociation#tables to just be a flat array of tables in the o... | Jon Leighton | 2011-03-06 | 1 | -75/+70 |
* | Push source_type and polymorphic conditions out of ThroughAssociation and Joi... | Jon Leighton | 2011-03-05 | 1 | -17/+0 |
* | Add a test for STI on the through where the through is nested, and change the... | Jon Leighton | 2011-03-05 | 1 | -13/+22 |
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2011-03-04 | 1 | -49/+172 |
* | Delegate through_reflection and source_reflection to reflection | Jon Leighton | 2011-02-21 | 1 | -23/+23 |
* | Delegate Association#options to the reflection, and replace 'reflection.optio... | Jon Leighton | 2011-02-21 | 1 | -9/+11 |
* | Associations - where possible, call attributes methods rather than directly a... | Jon Leighton | 2011-02-21 | 1 | -34/+34 |
* | Add :nodoc: to ThroughAssociation and HasOneAssociation | Jon Leighton | 2011-02-18 | 1 | -1/+1 |
* | Add interpolation of association conditions back in, in the form of proc { ..... | Jon Leighton | 2011-02-14 | 1 | -2/+2 |
* | Remove Relation#& alias for Relation#merge | Ernie Miller | 2011-02-12 | 1 | -1/+1 |
* | Support the :dependent option on has_many :through associations. For historic... | Jon Leighton | 2011-02-07 | 1 | -7/+26 |
* | Make use of helpers in AssociationReflection | Jon Leighton | 2011-01-30 | 1 | -4/+4 |
* | Has many through - It is not necessary to manually merge in the conditions ha... | Jon Leighton | 2011-01-30 | 1 | -4/+0 |
* | Don't pass around conditions as strings in ThroughAssociation | Jon Leighton | 2011-01-30 | 1 | -30/+25 |
* | Indent methods under private/protected sections | Jon Leighton | 2011-01-30 | 1 | -101/+101 |
* | Let's be less blasé about method visibility on association proxies | Jon Leighton | 2011-01-30 | 1 | -7/+9 |
* | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 1 | -13/+8 |
* | Create the association scope directly rather than going through with_scope | Jon Leighton | 2011-01-03 | 1 | -9/+6 |
* | Let AssociationCollection#find use #scoped to do its finding. Note that I am ... | Jon Leighton | 2011-01-03 | 1 | -14/+5 |
* | Rename AssociationProxy#foreign_key_present to foreign_key_present? | Jon Leighton | 2011-01-03 | 1 | -1/+1 |
* | Allow assignment on has_one :through where the owner is a new record [#5137 s... | Jon Leighton | 2011-01-03 | 1 | -13/+7 |
* | Have a proper AssociationReflection#foreign_type method rather than using opt... | Jon Leighton | 2011-01-03 | 1 | -2/+2 |
* | Rename AssociationReflection#primary_key_name to foreign_key, since the optio... | Jon Leighton | 2010-12-31 | 1 | -5/+5 |