aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder/association.rb
Commit message (Expand)AuthorAgeFilesLines
* Make association builder methods privateRyuta Kamizono2019-04-241-0/+4
* Fix `automatic_inverse_of` not to be disabled if extension block is givenRyuta Kamizono2019-04-121-18/+10
* Remove passing argument to singular and collection association readersRyuta Kamizono2018-01-051-2/+2
* Remove the code that swapping `scope` and `options`Ryuta Kamizono2017-09-181-5/+0
* 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
* docs, add missing `:nodoc: for `Associations::Builder`. [ci skip]Yves Senn2015-10-131-1/+1
* Rename association option :class to :anonymous_classAndrew White2015-04-211-1/+1
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-33/+27
* Add a `required` option to singular associationsSean Griffin2014-07-041-0/+5
* Merge pull request #12450 from iantropov/masterRafael Mendonça França2014-06-271-4/+10
|\
| * Fix bug, when ':dependent => :destroy' option violates foreign key constraint...Ivan Antropov2013-10-261-6/+11
* | Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-311-0/+6
* | Move the parameter normalization to the initialize methodRafael Mendonça França2013-12-111-4/+5
* | Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-111-28/+28
* | Bring back the valid_options class accessorRafael Mendonça França2013-12-111-4/+9
* | 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
| |/
* | Method visibility will not make difference hereRafael Mendonça França2013-10-091-2/+0
* | Remove builder instancesRafael Mendonça França2013-10-091-17/+5
* | Extract the scope building to a class methodRafael Mendonça França2013-10-091-2/+17
* | Move macro to class levelRafael Mendonça França2013-10-091-2/+2
* | Make validate_options a class methodRafael Mendonça França2013-10-091-3/+3
* | Make valid_options a class methodRafael Mendonça França2013-10-091-2/+2
* | Define the association extensions without need to have a builderRafael Mendonça França2013-10-091-6/+6
* | Push define_accessors to class level since we don't need anythig fromRafael Mendonça França2013-10-081-4/+4
* | Use the reflection name instead of the accessorRafael Mendonça França2013-10-081-0/+1
* | Move define_writers to class level since we don't need anything from theRafael Mendonça França2013-10-081-2/+2
* | Move define_readers to class method since it doesn't need nothing fromRafael Mendonça França2013-10-081-3/+2
* | remove some duplicate codeAaron Patterson2013-10-021-8/+1
* | remove HABTM associationsAaron Patterson2013-10-021-1/+0
* | Merge branch 'master' into habtmAaron Patterson2013-10-021-9/+10
|\ \
| * | we can define callbacks without a builder instanceAaron Patterson2013-10-021-3/+3
| * | add_before_destroy_callbacks doesn't depend on the instance, so push itAaron Patterson2013-10-021-4/+4
| * | valid_options doesn't depend on the instance, so push it to the classAaron Patterson2013-10-021-3/+3
| * | use the information on the reflection to determine whether callbacks should b...Aaron Patterson2013-10-021-4/+5
| * | push constructable? on to the reflectionAaron Patterson2013-10-021-2/+2
| |/
* / Squashed commit of the following:Aaron Patterson2013-10-011-0/+11
|/
* support anonymous classes on has_many associationsAaron Patterson2013-09-031-1/+1
* remove intermediate assignmentsAaron Patterson2013-08-011-3/+2
* push option handling "chrome" outside `initialize`Aaron Patterson2013-08-011-8/+7
* remove `valid_options` class methodAaron Patterson2013-08-011-4/+3
* association builder classes no longer need the modelAaron Patterson2013-08-011-6/+5
* make mutation method apis more consistentAaron Patterson2013-08-011-2/+3
* push more mutations outside the factory methodAaron Patterson2013-08-011-0/+4
* push more mutations out of the builderAaron Patterson2013-08-011-8/+9
* remove dependency on @model when defining callbacksAaron Patterson2013-08-011-3/+3
* extract more mutations to the callerAaron Patterson2013-08-011-6/+10
* separate some mutations from reflection constructionAaron Patterson2013-08-011-5/+1