Sha256: e1ee49cf28a92c1ee835697855333c0a2a6fb409bafa9af1257d6f8e1cd69354

Contents?: true

Size: 461 Bytes

Versions: 5

Compression:

Stored size: 461 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

  def self.version
    @@version ||= File.read(File.expand_path("#{__dir__}/../VERSION")).strip.freeze
  end

end

lib_path = "#{__dir__}/scoped_from"

require "#{lib_path}/active_record"
require "#{lib_path}/query"

ActiveRecord::Base.send(:include, ScopedFrom::ActiveRecord)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scoped_from-0.8.5 lib/scoped_from.rb
scoped_from-0.8.4 lib/scoped_from.rb
scoped_from-0.8.3 lib/scoped_from.rb
scoped_from-0.8.2 lib/scoped_from.rb
scoped_from-0.8.1 lib/scoped_from.rb