Sha256: 98a44ce1aae88efc81c32ca3f6b4a9d24aad14284c701cf44ec904975a27b858
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'cgi' require 'active_record' require 'active_support/concern' 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
7 entries across 7 versions & 1 rubygems