aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Expand)AuthorAgeFilesLines
* Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-311-0/+6
* On destroying do not touch destroyed belongs to association.Paul Nikitochkin2013-12-231-1/+1
* make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-1/+1
* 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-117-46/+62
* Bring back the valid_options class accessorRafael Mendonça França2013-12-116-9/+14
* polymorphic belongs_to association with touch: true updates old record correctlySeverin Schoepke2013-12-051-1/+7
* Raise `ArgumentError` when `has_one` is used with `counter_cache`Godfrey Chan2013-11-292-2/+2
* Merge pull request #12390 from kennyj/rename_to_association_methodsRafael Mendonça França2013-11-052-2/+2
|\
| * Renamed generated_feature_methods to generated_association_methods.kennyj2013-09-282-2/+2
* | Method visibility will not make difference hereRafael Mendonça França2013-10-094-8/+0
* | Remove builder instancesRafael Mendonça França2013-10-092-22/+10
* | Extract the scope building to a class methodRafael Mendonça França2013-10-092-10/+17
* | Remove unneeded readerRafael Mendonça França2013-10-091-2/+0
* | Move wrap_scope to class levelRafael Mendonça França2013-10-091-2/+2
* | Move macro to class levelRafael Mendonça França2013-10-094-5/+5
* | 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-096-7/+7
* | Define the association extensions without need to have a builderRafael Mendonça França2013-10-092-14/+14
* | :scissors:Rafael Mendonça França2013-10-092-2/+2
* | Push define_accessors to class level since we don't need anythig fromRafael Mendonça França2013-10-083-8/+8
* | Use the reflection name instead of the accessorRafael Mendonça França2013-10-082-1/+2
* | Move add_counter_cache_methods to class levelRafael Mendonça França2013-10-081-2/+2
* | Move define_constructors to class levelRafael Mendonça França2013-10-081-3/+2
* | Move define_writers to class level since we don't need anything from theRafael Mendonça França2013-10-082-3/+3
* | Move define_readers to class method since it doesn't need nothing fromRafael Mendonça França2013-10-082-5/+3
* | fix the variable nameAaron Patterson2013-10-021-7/+7
* | remove some duplicate codeAaron Patterson2013-10-021-8/+1
* | remove HABTM associationsAaron Patterson2013-10-021-1/+0
* | repurpose the HABTM builder classAaron Patterson2013-10-021-24/+1
* | keep track of the left and right reflections and expose thoseAaron Patterson2013-10-021-5/+5
* | have the builder create the middle reflectionAaron Patterson2013-10-021-2/+13
* | Merge branch 'master' into habtmAaron Patterson2013-10-027-51/+43
|\ \
| * | we can define callbacks without a builder instanceAaron Patterson2013-10-024-9/+9
| * | push methods that don't depend on the instance to the classAaron Patterson2013-10-022-6/+6
| * | get the name from the reflectionAaron Patterson2013-10-021-1/+1
| * | cache the name and options on the stackAaron Patterson2013-10-021-1/+3
| * | decouple belongs_to callback definition from the builder instance.Aaron Patterson2013-10-021-4/+4
| * | add_before_destroy_callbacks doesn't depend on the instance, so push itAaron Patterson2013-10-022-5/+5
| * | valid_options doesn't depend on the instance, so push it to the classAaron Patterson2013-10-024-8/+8
| * | use the information on the reflection to determine whether callbacks should b...Aaron Patterson2013-10-021-4/+5
| * | association builder is no longer needed for counter cache, so remove itAaron Patterson2013-10-021-7/+6
| * | push constructable? on to the reflectionAaron Patterson2013-10-024-18/+6
| * | name is on the reflection, so just use the reflectionAaron Patterson2013-10-021-2/+2
| * | decouple define_callback from the instanceAaron Patterson2013-10-021-2/+4
| |/
* | move habtm translation to a builder classAaron Patterson2013-10-021-0/+109
* | 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-012-7/+4
* push option handling "chrome" outside `initialize`Aaron Patterson2013-08-011-8/+7