aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Expand)AuthorAgeFilesLines
* 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
* remove `valid_options` class methodAaron Patterson2013-08-011-4/+3
* association builder classes no longer need the modelAaron Patterson2013-08-012-7/+6
* remove more mutations from the `build` methodAaron Patterson2013-08-011-7/+2
* make mutation method apis more consistentAaron Patterson2013-08-012-4/+5
* push more mutations outside the factory methodAaron Patterson2013-08-012-8/+6
* push module building to the constructorAaron Patterson2013-08-011-14/+20
* users should be warned if clobbering constantsAaron Patterson2013-08-011-3/+1
* defning extensions happens once, no need to cacheAaron Patterson2013-08-011-5/+3
* assert that constants have been set rather than the namesAaron Patterson2013-08-011-3/+3
* remove dead codeAaron Patterson2013-08-011-4/+0
* pushing out more callback definitionsAaron Patterson2013-08-011-2/+6
* push more mutations out of the builderAaron Patterson2013-08-012-12/+15
* remove dependency on @model when defining callbacksAaron Patterson2013-08-012-8/+8
* extract more mutations to the callerAaron Patterson2013-08-012-13/+16
* separate some mutations from reflection constructionAaron Patterson2013-08-012-6/+6
* oops! :bomb:Aaron Patterson2013-07-311-1/+1
* do is_a? tests on assignment so runtime is fasterAaron Patterson2013-07-311-1/+11
* no need to to_symAaron Patterson2013-07-311-1/+1
* pass the mixin in to the code generation methodsAaron Patterson2013-07-313-11/+11
* we should not allow invalid objects to be constructedAaron Patterson2013-07-311-1/+2
* push some validation up to the factory methodAaron Patterson2013-07-311-4/+5
* Refactor to use flat_mapCarlos Antonio da Silva2013-07-231-3/+3
* extract mutation from generation methodAaron Patterson2013-07-231-1/+1
* AR::Base does not need to know how to create reflection objectsAaron Patterson2013-07-221-1/+1
* remove unnecessary readerAaron Patterson2013-07-221-4/+4
* only flatten one sideAaron Patterson2013-07-221-1/+1