aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_one_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-151-1/+1
* Initialization block is a part of `build_record`Ryuta Kamizono2018-06-041-1/+1
* Don't expose `SingularAssociation#replace` which is internal APIRyuta Kamizono2018-05-161-29/+27
* Allow a belonging to object to be created from a new recordJolyon Pawlyn2018-05-011-0/+8
* Fix dependence on has_one/belongs_to relationshipsFernando Gorodscy2018-03-061-0/+1
* Fix broken doc for Active Record [ci skip]Yoshiyuki Hirano2017-08-251-1/+1
* Merge pull request #29855 from lugray/has_one_destroyed_by_associationRafael França2017-07-211-0/+2
|\
| * Match destroyed_by_association for has_one to has_manyLisa Ugray2017-07-211-0/+2
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-1/+1
* Remove deprecated i18n scopes in Active RecordRafael Mendonça França2016-12-291-8/+1
* Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-011-1/+2
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-1/+1
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-16/+16
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-09-181-1/+1
|\
| * [ci skip] Fix module name of documentyui-knk2015-09-171-1/+1
* | `restrict_with_error` message will now respect owner’s human name in any lo...Ronak Jangir2015-09-121-1/+1
|/
* Only nullify persisted has_one target associationsAgis-2015-08-241-1/+1
* Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-201-1/+8
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-1/+1
* Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-311-0/+1
* remove blank lines in the start of the ActiveRecord filesPonomarev Nikolay2014-07-291-1/+0
* Fixes problem with replacing has_one association record with itselfDenis Redozubov2013-11-111-2/+4
* Merge pull request #12135 from dylanahsmith/avoid_empty_transactionRafael Mendonça França2013-09-111-1/+3
|\
| * Avoid empty transaction from setting has_one association on new record.Dylan Thacker-Smith2013-09-111-1/+2
|/
* Revert "Merge pull request #11416 from tigrish/master"Yves Senn2013-07-221-1/+1
* Remove ambiguity with pluralizations and I18n keys used for association restr...Christopher Dell2013-07-131-1/+1
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-1/+1
* Fix #8856 Ensure has_one association=(associate) triggers save.Chris Thompson2013-04-301-3/+2
* Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-1/+1
* Do not create useless database transaction when building `has_one` association.Bogdan Gusiev2012-11-101-1/+9
* Fix grammarJo Liss2012-08-301-3/+3
* move dependency logic out of generated methodsJon Leighton2012-08-101-0/+18
* Fix #7191. Remove unnecessary transaction when assigning has_one associations.kennyj2012-08-081-13/+15
* removes usage of Object#in? from the code base (the method remains defined by...Xavier Noria2012-08-061-9/+12
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-1/+1
* Remove update_attribute.Steve Klabnik2012-06-141-1/+1
* Only call set_owner_attributes for has_one association if target exists.Dieter Komendera2011-07-041-1/+1
* When you add a record to a polymorphic has_one, you should be able to access ...Jon Leighton2011-06-081-1/+1
* Don't remove the target if it has already been destroyedAndrew White2011-05-111-1/+1
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-121-1/+1
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+3
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-6/+0
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-4/+15
* Delegate Association#options to the reflection, and replace 'reflection.optio...Jon Leighton2011-02-211-2/+2