Sha256: ca69c832d28e52bc7f3191ec3607f38c6c76b1d506f29ecea9d49679ec2b9866
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
module DattsRight module QueryMethods puts "in DattsRight::QueryMethods" def order(*args) puts "In DattsRight::QueryMethods#order with these args: #{args}" relation = clone puts "= This is the relation: #{relation.inspect}" relation.order_values += args.flatten unless args.blank? puts "= This is the relation.order_values: #{relation.order_values.inspect}" relation end end end ActiveRecord::QueryMethods.extend DattsRight::QueryMethods
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datts_right-0.0.2 | lib/datts_right/query_methods.rb |
datts_right-0.0.1 | lib/datts_right/query_methods.rb |