| Commit message (Expand) | Author | Age | Files | Lines |
* | Only call set_owner_attributes for has_one association if target exists. | Dieter Komendera | 2011-07-04 | 1 | -1/+1 |
* | When you add a record to a polymorphic has_one, you should be able to access ... | Jon Leighton | 2011-06-08 | 1 | -1/+1 |
* | Don't remove the target if it has already been destroyed | Andrew White | 2011-05-11 | 1 | -1/+1 |
* | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -1/+1 |
* | Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg... | David Heinemeier Hansson | 2011-04-12 | 1 | -1/+1 |
* | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 1 | -1/+3 |
* | Move the code which builds a scope for through associations into a generic As... | Jon Leighton | 2011-03-10 | 1 | -6/+0 |
* | Use proper objects to do the work to build the associations (adding methods, ... | Jon Leighton | 2011-02-21 | 1 | -4/+15 |
* | Delegate Association#options to the reflection, and replace 'reflection.optio... | Jon Leighton | 2011-02-21 | 1 | -2/+2 |
* | Singular associations no longer use a proxy, so no need to check for the prox... | Jon Leighton | 2011-02-21 | 1 | -1/+1 |
* | Associations - where possible, call attributes methods rather than directly a... | Jon Leighton | 2011-02-21 | 1 | -13/+13 |
* | Let's be less blasé about method visibility on association proxies | Jon Leighton | 2011-01-30 | 1 | -1/+4 |
* | find_target can also go into SingularAssociation | Jon Leighton | 2011-01-16 | 1 | -4/+0 |
* | Abstract a bit more into SingularAssociation | Jon Leighton | 2011-01-16 | 1 | -2/+1 |
* | Use self.target= rather than @target= as the former automatically sets loaded | Jon Leighton | 2011-01-16 | 1 | -2/+1 |
* | Abstract common code from BelongsToAssociation and HasOneAssociation into Sin... | Jon Leighton | 2011-01-16 | 1 | -18/+5 |
* | Support for create_association! for has_one associations | Jon Leighton | 2011-01-11 | 1 | -1/+4 |
* | When assigning a has_one, if anything fails, the assignment should be rolled ... | Jon Leighton | 2011-01-11 | 1 | -19/+23 |
* | When assigning a has_one, if the new record fails to save, raise an error | Jon Leighton | 2011-01-11 | 1 | -3/+3 |
* | When assigning a has_one, if the existing record fails to be removed from the... | Jon Leighton | 2011-01-11 | 1 | -5/+11 |
* | has_one should always remove the old record (properly), even if not saving th... | Jon Leighton | 2011-01-11 | 1 | -1/+1 |
* | Refactor HasOneAssociation#replace | Jon Leighton | 2011-01-07 | 1 | -26/+22 |
* | Don't not remove double negatives | Jon Leighton | 2011-01-07 | 1 | -4/+4 |
* | Clean up create, create! and build in HasOneAssociation | Jon Leighton | 2011-01-07 | 1 | -14/+8 |
* | merge_with_conditions is not necessary because the conditions will already be... | Jon Leighton | 2011-01-07 | 1 | -9/+0 |
* | Not really worth having the HasAssociation module for just a single method | Jon Leighton | 2011-01-07 | 1 | -2/+0 |
* | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 1 | -11/+3 |
* | Remove undocumented feature from has_one where you could pass false as the se... | Jon Leighton | 2011-01-03 | 1 | -20/+8 |
* | Create the association scope directly rather than going through with_scope | Jon Leighton | 2011-01-03 | 1 | -2/+2 |
* | Use the association directly in other places too | Jon Leighton | 2011-01-03 | 1 | -11/+9 |
* | Allow assignment on has_one :through where the owner is a new record [#5137 s... | Jon Leighton | 2011-01-03 | 1 | -3/+1 |
* | Rename AssociationReflection#primary_key_name to foreign_key, since the optio... | Jon Leighton | 2010-12-31 | 1 | -3/+3 |
* | And owner_quoted_id can go too | Jon Leighton | 2010-12-31 | 1 | -9/+0 |
* | Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o... | Jon Leighton | 2010-12-26 | 1 | -8/+3 |
* | Add a HasAssociation module for common code for has_* associations | Jon Leighton | 2010-12-26 | 1 | -0/+2 |
* | Remove AssociationProxy#dependent? - it's badly named and only used in one place | Jon Leighton | 2010-12-26 | 1 | -1/+1 |
* | Associations: DRY up the code which is generating conditions, and make it all... | Jon Leighton | 2010-12-26 | 1 | -14/+3 |
* | using arel to compile sql statements | Aaron Patterson | 2010-12-25 | 1 | -1/+2 |
* | Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b | José Valim | 2010-11-28 | 1 | -1/+1 |
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -6/+6 |
* | Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc... | Jon Leighton | 2010-10-30 | 1 | -23/+16 |
* | dry up the hash dup and avoid sending nil values | Aaron Patterson | 2010-08-11 | 1 | -7/+7 |
* | Adds title to activerecord/lib/active_record/associations/* | Rizwan Reza | 2010-06-16 | 1 | -0/+1 |
* | Add more tests for the various ways we can assign objects to associations. [#... | Murray Steele | 2009-12-28 | 1 | -2/+1 |
* | Set inverse for #replace on a has_one association. [#3513 state:resolved] | George Ogata | 2009-12-28 | 1 | -0/+1 |
* | Make has_one with :conditions hash scope build or creation of the associated ... | Luciano G Panaro | 2009-09-28 | 1 | -0/+9 |
* | HasOneAssociation inherits AssociationProxy since it shares nothing with Belo... | Emilio Tagua | 2009-06-12 | 1 | -5/+5 |
* | Revert "Fixed bug with polymorphic has_one :as pointing to an STI record" | Jeremy Kemper | 2009-05-11 | 1 | -1/+1 |
* | Providing support for :inverse_of as an option to associations. | Murray Steele | 2009-05-04 | 1 | -1/+10 |
* | Fixed bug with polymorphic has_one :as pointing to an STI record | Ruy Asan | 2009-05-01 | 1 | -1/+1 |