Sha256: 97dd5ff64d65397c0eb11982cb9a817c62052f0f078750aabdd0c91b8b757e10
Contents?: true
Size: 728 Bytes
Versions: 2
Compression:
Stored size: 728 Bytes
Contents
module ActsAsTaggableOn module ActiveRecord module Backports def self.included(base) base.class_eval do named_scope :where, lambda { |conditions| { :conditions => conditions } } named_scope :joins, lambda { |joins| { :joins => joins } } named_scope :group, lambda { |group| { :group => group } } named_scope :readonly, lambda { |readonly| { :readonly => readonly } } named_scope :order, lambda { |order| { :order => order } } named_scope :select, lambda { |select| { :select => select } } named_scope :limit, lambda { |limit| { :limit => limit } } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems