Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | association builder classes no longer need the model | Aaron Patterson | 2013-08-01 | 2 | -7/+6 | |
| | | | | | decouple the builder classes from the model. Builder objects should be easier to reuse now. | |||||
* | remove more mutations from the `build` method | Aaron Patterson | 2013-08-01 | 1 | -7/+2 | |
| | ||||||
* | make mutation method apis more consistent | Aaron Patterson | 2013-08-01 | 2 | -4/+5 | |
| | ||||||
* | push more mutations outside the factory method | Aaron Patterson | 2013-08-01 | 2 | -8/+6 | |
| | ||||||
* | push module building to the constructor | Aaron Patterson | 2013-08-01 | 1 | -14/+20 | |
| | ||||||
* | users should be warned if clobbering constants | Aaron Patterson | 2013-08-01 | 1 | -3/+1 | |
| | ||||||
* | defning extensions happens once, no need to cache | Aaron Patterson | 2013-08-01 | 1 | -5/+3 | |
| | ||||||
* | assert that constants have been set rather than the names | Aaron Patterson | 2013-08-01 | 1 | -3/+3 | |
| | ||||||
* | remove dead code | Aaron Patterson | 2013-08-01 | 1 | -4/+0 | |
| | ||||||
* | pushing out more callback definitions | Aaron Patterson | 2013-08-01 | 1 | -2/+6 | |
| | ||||||
* | push more mutations out of the builder | Aaron Patterson | 2013-08-01 | 2 | -12/+15 | |
| | | | | | `configure_dependency` actually defined callbacks, so rename the method and move it to the appropriate method. | |||||
* | remove dependency on @model when defining callbacks | Aaron Patterson | 2013-08-01 | 2 | -8/+8 | |
| | ||||||
* | extract more mutations to the caller | Aaron Patterson | 2013-08-01 | 2 | -13/+16 | |
| | ||||||
* | separate some mutations from reflection construction | Aaron Patterson | 2013-08-01 | 2 | -6/+6 | |
| | ||||||
* | oops! :bomb: | Aaron Patterson | 2013-07-31 | 1 | -1/+1 | |
| | ||||||
* | do is_a? tests on assignment so runtime is faster | Aaron Patterson | 2013-07-31 | 1 | -1/+11 | |
| | ||||||
* | no need to to_sym | Aaron Patterson | 2013-07-31 | 1 | -1/+1 | |
| | ||||||
* | pass the mixin in to the code generation methods | Aaron Patterson | 2013-07-31 | 3 | -11/+11 | |
| | ||||||
* | we should not allow invalid objects to be constructed | Aaron Patterson | 2013-07-31 | 1 | -1/+2 | |
| | ||||||
* | push some validation up to the factory method | Aaron Patterson | 2013-07-31 | 1 | -4/+5 | |
| | ||||||
* | Refactor to use flat_map | Carlos Antonio da Silva | 2013-07-23 | 1 | -3/+3 | |
| | ||||||
* | extract mutation from generation method | Aaron Patterson | 2013-07-23 | 1 | -1/+1 | |
| | ||||||
* | AR::Base does not need to know how to create reflection objects | Aaron Patterson | 2013-07-22 | 1 | -1/+1 | |
| | ||||||
* | remove unnecessary reader | Aaron Patterson | 2013-07-22 | 1 | -4/+4 | |
| | ||||||
* | only flatten one side | Aaron Patterson | 2013-07-22 | 1 | -1/+1 | |
| | ||||||
* | extend by adding relationships rather than monkey patching | Aaron Patterson | 2013-07-22 | 1 | -5/+7 | |
| | ||||||
* | decouple extensions from association object state | Aaron Patterson | 2013-07-22 | 1 | -2/+2 | |
| | ||||||
* | #11288: Removed duplicated touching | Paul Nikitochkin | 2013-07-05 | 1 | -1/+1 | |
| | | | | | | if belongs to model with touch option on touch Closes #11288 | |||||
* | Dropped deprecated option `:restrict` for `:dependent` in associations | Neeraj Singh | 2013-07-03 | 3 | -9/+2 | |
| | ||||||
* | Removed support for deprecated `delete_sql` in associations. | Neeraj Singh | 2013-07-03 | 1 | -1/+1 | |
| | ||||||
* | Removed support for deprecated `insert_sql` in associations. | Neeraj Singh | 2013-07-02 | 1 | -1/+1 | |
| | ||||||
* | Removed support for deprecated `finder_sql` in associations. | Neeraj Singh | 2013-07-02 | 1 | -1/+1 | |
| | ||||||
* | Removed support for deprecated `counter_sql` | Neeraj Singh | 2013-07-02 | 1 | -1/+1 | |
| | ||||||
* | Removed deprecated options for assocations | Neeraj Singh | 2013-07-02 | 2 | -19/+0 | |
| | | | | | Deprecated options `delete_sql`, `insert_sql`, `finder_sql` and `counter_sql` have been deleted. | |||||
* | stop adding a new method for touch callbacks | Aaron Patterson | 2013-06-11 | 1 | -29/+21 | |
| | ||||||
* | push the touch method outside the eval | Aaron Patterson | 2013-06-11 | 1 | -13/+34 | |
| | ||||||
* | remove unused variable | Aaron Patterson | 2013-06-11 | 1 | -1/+0 | |
| | ||||||
* | check whether the association is constructible rather than checking constants | Aaron Patterson | 2013-06-11 | 1 | -3/+3 | |
| | ||||||
* | use attribute methods for finding key values rather than generating method names | Aaron Patterson | 2013-06-11 | 1 | -3/+3 | |
| | ||||||
* | push belongs_to counter cache method to a single method | Aaron Patterson | 2013-06-11 | 1 | -17/+18 | |
| | ||||||
* | push before_destroy counter cache method to a single method | Aaron Patterson | 2013-06-11 | 1 | -12/+17 | |
| | ||||||
* | remove evaled belongs_to counter cache method | Aaron Patterson | 2013-06-11 | 1 | -8/+22 | |
| | ||||||
* | adding callbacks should be private | Aaron Patterson | 2013-06-11 | 1 | -4/+6 | |
| | ||||||
* | remove evals from the association | Aaron Patterson | 2013-06-11 | 1 | -8/+2 | |
| | ||||||
* | reduce evals in depdendent associations | Aaron Patterson | 2013-06-11 | 1 | -1/+2 | |
| | ||||||
* | Getting rid of the +automatic_inverse_of: false+ option in associations in favor | wangjohn | 2013-06-08 | 2 | -2/+2 | |
| | | | | | of using +inverse_of: false+ option. Changing the documentation and adding a CHANGELOG entry for the automatic inverse detection feature. | |||||
* | copy edits[ci skip] | Vijay Dev | 2013-05-19 | 1 | -11/+8 | |
| | ||||||
* | Added some more documentation for define_readers and define_writer of the ↵ | aditya-kapoor | 2013-05-15 | 3 | -0/+15 | |
| | | | | Association and its inherited classes | |||||
* | Added some more documentation for ↵ | aditya-kapoor | 2013-05-15 | 1 | -0/+11 | |
| | | | | ActiveRecord::Associations::Builder::Association class | |||||
* | Added documentation for ActiveRecord::Associations::Builder::Association class | aditya-kapoor | 2013-05-15 | 1 | -0/+4 | |
| |