Sha256: 4baf18e4ca77079559b5f164256e7b27ea967f57617e697fcc26190f05868fba

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require 'ransack/adapters/active_record/base'
ActiveRecord::Base.extend Ransack::Adapters::ActiveRecord::Base

require 'ransack/adapters/active_record/context'

case ActiveRecord::VERSION::STRING
when /^3\.0\./
  require 'ransack/adapters/active_record/3.0/context'
when /^3\.1\./
  require 'ransack/adapters/active_record/3.1/context'
when /^3\.2\./
  require 'ransack/adapters/active_record/3.2/context'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ransack-1.8.2 lib/ransack/adapters/active_record.rb
ransack-1.8.1 lib/ransack/adapters/active_record.rb
ransack-1.8.0 lib/ransack/adapters/active_record.rb