aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder/singular_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Make association builder methods privateRyuta Kamizono2019-04-241-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
* Introduce `reload_<association>` reader for singular associations.Yves Senn2016-11-221-1/+10
* Define `:foreign_type` as a valid option in `SingularAssociation`yui-knk2016-01-191-1/+1
* docs, add missing `:nodoc: for `Associations::Builder`. [ci skip]Yves Senn2015-10-131-1/+1
* Require `belongs_to` by default.Josef Šimánek2015-02-211-7/+0
* Provide a better error message on :required associationHenrik Nygren2015-01-281-1/+1
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-1/+1
* Remove unused 1:1 association :remote optionChris Griego2014-07-161-1/+1
* Add a `required` option to singular associationsSean Griffin2014-07-041-1/+8
* Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-111-1/+1
* Bring back the valid_options class accessorRafael Mendonça França2013-12-111-1/+1
* Raise `ArgumentError` when `has_one` is used with `counter_cache`Godfrey Chan2013-11-291-1/+1
* Merge pull request #12390 from kennyj/rename_to_association_methodsRafael Mendonça França2013-11-051-1/+1
|\
| * Renamed generated_feature_methods to generated_association_methods.kennyj2013-09-281-1/+1
* | Make valid_options a class methodRafael Mendonça França2013-10-091-1/+1
* | :scissors:Rafael Mendonça França2013-10-091-1/+1
* | Push define_accessors to class level since we don't need anythig fromRafael Mendonça França2013-10-081-2/+2
* | Use the reflection name instead of the accessorRafael Mendonça França2013-10-081-1/+1
* | Move define_constructors to class levelRafael Mendonça França2013-10-081-3/+2
* | push constructable? on to the reflectionAaron Patterson2013-10-021-6/+2
|/
* make mutation method apis more consistentAaron Patterson2013-08-011-2/+2
* pass the mixin in to the code generation methodsAaron Patterson2013-07-311-3/+3
* extract mutation from generation methodAaron Patterson2013-07-231-1/+1
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-081-1/+1
* Added some more documentation for define_readers and define_writer of the Ass...aditya-kapoor2013-05-151-0/+4
* Created a method to automatically find inverse associations and cachewangjohn2013-05-071-1/+1
* Use method compilation for association methodsJon Leighton2012-08-101-11/+11
* Unprivatise all the thingsJon Leighton2012-08-101-13/+11
* stop using class_attribute where methods/inheritance will suffice.Jon Leighton2012-07-131-1/+3
* avoid warningsJosh Susser2011-11-271-3/+3
* association methods are now generated in modulesJosh Susser2011-11-151-3/+3
* removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-13/+0
* Add block setting of attributes to singular associationsAndrew White2011-05-171-6/+6
* Bring back obj.association_loaded? as a deprecated method. Fixes #472.Jon Leighton2011-05-111-0/+13
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-0/+32