Sha256: 9c2423a1db46e9376f8b5d322b4fb3b4d4920d252a525c2cc25d65454e1a1610
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'cgi' require 'active_record' require 'active_support/core_ext/object/to_query' module ScopedFrom class << self def version @@version ||= File.read(File.expand_path(File.dirname(__FILE__) + '/../VERSION')).strip.freeze end end end lib_path = File.expand_path(File.dirname(__FILE__) + '/scoped_from') require "#{lib_path}/active_record" require "#{lib_path}/query" ActiveRecord::Base.send(:include, ScopedFrom::ActiveRecord)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scoped_from-0.1 | lib/scoped_from.rb |