1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Ensure that ActiveRecord is required. (Necessary for gems that depend on Ransack)

This commit is contained in:
Nathan Broadbent 2012-03-03 11:39:59 +08:00
parent 0e47ec2f61
commit 42f03b4b8f

View file

@ -1,3 +1,4 @@
require 'active_record'
require 'ransack/adapters/active_record/base' require 'ransack/adapters/active_record/base'
ActiveRecord::Base.extend Ransack::Adapters::ActiveRecord::Base ActiveRecord::Base.extend Ransack::Adapters::ActiveRecord::Base