Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | extract deprecated dynamic methods | Jon Leighton | 2012-05-04 | 1 | -140/+38 |
| | |||||
* | actually don't need to expand the aggregates at all | Jon Leighton | 2012-05-04 | 1 | -11/+1 |
| | |||||
* | #to_sym is unnecessary | Jon Leighton | 2012-05-04 | 1 | -3/+3 |
| | |||||
* | de-globalise method | Jon Leighton | 2012-05-04 | 1 | -8/+1 |
| | |||||
* | extract code from AR::Base | Jon Leighton | 2012-05-04 | 1 | -32/+28 |
| | |||||
* | clean up implementation of dynamic methods. use method compilation etc. | Jon Leighton | 2012-05-04 | 1 | -29/+199 |
| | |||||
* | Refactor and cleanup in some ActiveRecord modules | Carlos Antonio da Silva | 2012-03-03 | 1 | -19/+23 |
| | | | | | | | | | | | * Avoid double hash lookups in AR::Reflection when reflecting associations/aggregations * Minor cleanups: use elsif, do..end, if..else instead of unless..else * Simplify DynamicMatchers#respond_to? * Use "where" instead of scoped with conditions hash * Extract `scoped_by` method pattern regexp to constant * Extract noisy class_eval from method_missing in dynamic matchers * Extract readonly check, avoid calling column#to_s twice in persistence * Refactor predicate builder, remove some variables | ||||
* | Move argument validation into match | Paul McMahon | 2012-01-28 | 1 | -1/+1 |
| | |||||
* | Fix regression from Rails 3.1 | Paul McMahon | 2012-01-27 | 1 | -1/+1 |
| | | | | | | Under Rails 3.1, you were allowed to pass a hash to a find_or_create method with multiple attribute names, but this was broken as the arguments were being improperly validated. | ||||
* | Split out most of the AR::Base code into separate modules :cake: | Jon Leighton | 2011-12-15 | 1 | -0/+79 |