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:
parent
0e47ec2f61
commit
42f03b4b8f
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'active_record'
|
||||
require 'ransack/adapters/active_record/base'
|
||||
ActiveRecord::Base.extend Ransack::Adapters::ActiveRecord::Base
|
||||
|
||||
|
|
Loading…
Reference in a new issue