aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | decouple the builder classes from the model. Builder objects should be easier to reuse now.
* 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
| | | | | `configure_dependency` actually defined callbacks, so rename the method and move it to the appropriate method.
* 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
|
* extend by adding relationships rather than monkey patchingAaron Patterson2013-07-221-5/+7
|
* decouple extensions from association object stateAaron Patterson2013-07-221-2/+2
|
* #11288: Removed duplicated touchingPaul Nikitochkin2013-07-051-1/+1
| | | | | | if belongs to model with touch option on touch Closes #11288
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-033-9/+2
|
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-031-1/+1
|
* Removed support for deprecated `insert_sql` in associations.Neeraj Singh2013-07-021-1/+1
|
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-1/+1
|
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-1/+1
|
* Removed deprecated options for assocationsNeeraj Singh2013-07-022-19/+0
| | | | | Deprecated options `delete_sql`, `insert_sql`, `finder_sql` and `counter_sql` have been deleted.
* stop adding a new method for touch callbacksAaron Patterson2013-06-111-29/+21
|
* push the touch method outside the evalAaron Patterson2013-06-111-13/+34
|
* remove unused variableAaron Patterson2013-06-111-1/+0
|
* check whether the association is constructible rather than checking constantsAaron Patterson2013-06-111-3/+3
|
* use attribute methods for finding key values rather than generating method namesAaron Patterson2013-06-111-3/+3
|
* push belongs_to counter cache method to a single methodAaron Patterson2013-06-111-17/+18
|
* push before_destroy counter cache method to a single methodAaron Patterson2013-06-111-12/+17
|
* remove evaled belongs_to counter cache methodAaron Patterson2013-06-111-8/+22
|
* adding callbacks should be privateAaron Patterson2013-06-111-4/+6
|
* remove evals from the associationAaron Patterson2013-06-111-8/+2
|
* reduce evals in depdendent associationsAaron Patterson2013-06-111-1/+2
|
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-082-2/+2
| | | | | of using +inverse_of: false+ option. Changing the documentation and adding a CHANGELOG entry for the automatic inverse detection feature.