aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/dynamic_matchers.rb
Commit message (Collapse)AuthorAgeFilesLines
* extract deprecated dynamic methodsJon Leighton2012-05-041-140/+38
|
* actually don't need to expand the aggregates at allJon Leighton2012-05-041-11/+1
|
* #to_sym is unnecessaryJon Leighton2012-05-041-3/+3
|
* de-globalise methodJon Leighton2012-05-041-8/+1
|
* extract code from AR::BaseJon Leighton2012-05-041-32/+28
|
* clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-29/+199
|
* Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-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 matchPaul McMahon2012-01-281-1/+1
|
* Fix regression from Rails 3.1Paul McMahon2012-01-271-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 Leighton2011-12-151-0/+79