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 | 2 | -9/+12 |
| | |||||
* | callback should always have a value | Aaron Patterson | 2013-07-31 | 1 | -1/+1 |
| | |||||
* | no need to to_sym | Aaron Patterson | 2013-07-31 | 2 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | use bind values for model types | Aaron Patterson | 2013-07-31 | 1 | -2/+3 |
| | |||||
* | only calculate the klass once | Aaron Patterson | 2013-07-29 | 1 | -1/+2 |
| | |||||
* | Refactor to use flat_map | Carlos Antonio da Silva | 2013-07-23 | 1 | -3/+3 |
| | |||||
* | eliminate conditional in JoinHelper | Aaron Patterson | 2013-07-23 | 1 | -1/+1 |
| | |||||
* | add a specific factory method rather than using new | Aaron Patterson | 2013-07-23 | 4 | -5/+5 |
| | |||||
* | 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 |
| | |||||
* | Revert "Merge pull request #11416 from tigrish/master" | Yves Senn | 2013-07-22 | 2 | -2/+2 |
| | | | | | This reverts commit 9dc8aef084fc5ae7e3a396dd098d89da93d06fda, reversing changes made to 02e8dae6279ea25312293a3eca777faf35139c4c. | ||||
* | Merge pull request #11416 from tigrish/master | Yves Senn | 2013-07-21 | 2 | -2/+2 |
|\ | | | | | Rename the I18n keys for associations' restrict_dependent_destroy errors | ||||
| * | Remove ambiguity with pluralizations and I18n keys used for association ↵ | Christopher Dell | 2013-07-13 | 2 | -2/+2 |
| | | | | | | | | restrict_dependent_destroy errors | ||||
* | | use the superclass implementation | Aaron Patterson | 2013-07-18 | 1 | -1/+1 |
| | | |||||
* | | parent_table is only used internally | Aaron Patterson | 2013-07-16 | 1 | -4/+4 |
| | | |||||
* | | decouple the manager class from building join constraints | Aaron Patterson | 2013-07-16 | 1 | -6/+6 |
| | | |||||
* | | cache the klass member of the reflection | Aaron Patterson | 2013-07-16 | 1 | -8/+10 |
| | | |||||
* | | cache the scope chain on the stack and eliminate `i` | Aaron Patterson | 2013-07-16 | 1 | -7/+4 |
| | | |||||
* | | just push on to the scope chain items. Oops! (thanks @carlosantoniodasilva) | Aaron Patterson | 2013-07-16 | 1 | -2/+1 |
| | | |||||
* | | use Relation#merge to combine scope chain items | Aaron Patterson | 2013-07-16 | 1 | -6/+6 |
| | | |||||
* | | make sure scope_chain_items has consistent types | Aaron Patterson | 2013-07-16 | 1 | -7/+9 |
|/ | |||||
* | #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 | 5 | -11/+4 |
| | |||||
* | Removed support for deprecated `delete_sql` in associations. | Neeraj Singh | 2013-07-03 | 2 | -16/+11 |
| | |||||
* | Removed support for deprecated `insert_sql` in associations. | Neeraj Singh | 2013-07-02 | 2 | -10/+6 |
| | |||||
* | fix indentation | Neeraj Singh | 2013-07-02 | 1 | -14/+14 |
| | |||||
* | Removed support for deprecated `finder_sql` in associations. | Neeraj Singh | 2013-07-02 | 3 | -41/+6 |
| | |||||
* | Removed support for deprecated `counter_sql` | Neeraj Singh | 2013-07-02 | 4 | -18/+14 |
| |