Sha256: 57a3be40a8401083e18e90fbcc34e70cf058d5647130d4d652a3595c3a9fa092

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ransack-0.5.8 lib/ransack/adapters/active_record.rb
ransack-0.5.7 lib/ransack/adapters/active_record.rb