| Commit message (Expand) | Author | Age | Files | Lines |
* | remove blank lines in the start of the ActiveRecord files | Ponomarev Nikolay | 2014-07-29 | 1 | -1/+0 |
* | Fixes problem with replacing has_one association record with itself | Denis Redozubov | 2013-11-11 | 1 | -2/+4 |
* | Merge pull request #12135 from dylanahsmith/avoid_empty_transaction | Rafael Mendonça França | 2013-09-11 | 1 | -1/+3 |
|\ |
|
| * | Avoid empty transaction from setting has_one association on new record. | Dylan Thacker-Smith | 2013-09-11 | 1 | -1/+2 |
|/ |
|
* | Revert "Merge pull request #11416 from tigrish/master" | Yves Senn | 2013-07-22 | 1 | -1/+1 |
* | Remove ambiguity with pluralizations and I18n keys used for association restr... | Christopher Dell | 2013-07-13 | 1 | -1/+1 |
* | Dropped deprecated option `:restrict` for `:dependent` in associations | Neeraj Singh | 2013-07-03 | 1 | -1/+1 |
* | Fix #8856 Ensure has_one association=(associate) triggers save. | Chris Thompson | 2013-04-30 | 1 | -3/+2 |
* | Adding a bang to method name of raise_on_type_mismatch. | wangjohn | 2013-03-21 | 1 | -1/+1 |
* | Do not create useless database transaction when building `has_one` association. | Bogdan Gusiev | 2012-11-10 | 1 | -1/+9 |
* | Fix grammar | Jo Liss | 2012-08-30 | 1 | -3/+3 |
* | move dependency logic out of generated methods | Jon Leighton | 2012-08-10 | 1 | -0/+18 |
* | Fix #7191. Remove unnecessary transaction when assigning has_one associations. | kennyj | 2012-08-08 | 1 | -13/+15 |
* | removes usage of Object#in? from the code base (the method remains defined by... | Xavier Noria | 2012-08-06 | 1 | -9/+12 |
* | load active_support/core_ext/object/inclusion in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 |
* | Deprecate update_column in favor of update_columns. | Rafael Mendonça França | 2012-07-24 | 1 | -1/+1 |
* | Remove update_attribute. | Steve Klabnik | 2012-06-14 | 1 | -1/+1 |
* | 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 |