Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 3, 2012
  1. @carlosantoniodasilva

    Refactor and cleanup in some ActiveRecord modules

    carlosantoniodasilva authored
    * 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
Something went wrong with that request. Please try again.