Sha256: 4dbb1fad176108e6434da2852d6f0572969fbd5ab3a66efd18f384a588b1bf69
Contents?: true
Size: 725 Bytes
Versions: 16
Compression:
Stored size: 725 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 :order, lambda { |order| { :order => order } } named_scope :select, lambda { |select| { :select => select } } named_scope :limit, lambda { |limit| { :limit => limit } } named_scope :readonly, lambda { |readonly| { :readonly => readonly } } end end end end end
Version data entries
16 entries across 16 versions & 4 rubygems