Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix `reset_counters` to work even with complex class names | Mislav Marohnić | 2010-05-24 | 1 | -4/+6 |
| | | | | | | e.g. it guesses that a belongs_to association to Namespace::MyModel is named "my_model", unlike before where it would look up an association named "namespace::mymodel" and fail. | ||||
* | cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/Arel | Mislav Marohnić | 2010-05-24 | 1 | -12/+8 |
| | |||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -0/+107 |