Sha256: b54161c61583864daeffa613d08eaa2153be293ab0e59eab567cb58aa433cab8
Contents?: true
Size: 322 Bytes
Versions: 4
Compression:
Stored size: 322 Bytes
Contents
module ActsAsChattable class Rails4 def initialize(subject) @subject = subject end def default_scope(order_by) @subject.default_scope { order(order_by) } end def scoped @subject.scope end def method_missing(name, *args) @subject.send(name, *args) end end end
Version data entries
4 entries across 4 versions & 1 rubygems