lib/searchlogic.rb in searchlogic-2.4.14 vs lib/searchlogic.rb in searchlogic-2.4.15

- old
+ new

@@ -1,7 +1,8 @@ require "searchlogic/core_ext/proc" require "searchlogic/core_ext/object" +require "searchlogic/active_record/association_proxy" require "searchlogic/active_record/consistency" require "searchlogic/active_record/named_scope_tools" require "searchlogic/named_scopes/conditions" require "searchlogic/named_scopes/ordering" require "searchlogic/named_scopes/association_conditions" @@ -12,9 +13,15 @@ Proc.send(:include, Searchlogic::CoreExt::Proc) Object.send(:include, Searchlogic::CoreExt::Object) module ActiveRecord # :nodoc: all + module Associations + class AssociationProxy + include Searchlogic::ActiveRecord::AssociationProxy + end + end + class Base class << self; include Searchlogic::ActiveRecord::Consistency; end end end