Sha256: 6ed0486f788dc89a0acdd1f53f03f81a40e2898b97958630621162dee14d40c7

Contents?: true

Size: 728 Bytes

Versions: 3

Compression:

Stored size: 728 Bytes

Contents

require "searchlogic/core_ext/proc"
require "searchlogic/core_ext/object"
require "searchlogic/named_scopes/conditions"
require "searchlogic/named_scopes/ordering"
require "searchlogic/named_scopes/associations"
require "searchlogic/search"

Proc.send(:include, Searchlogic::CoreExt::Proc)
Object.send(:include, Searchlogic::CoreExt::Object)
ActiveRecord::Base.extend(Searchlogic::NamedScopes::Conditions)
ActiveRecord::Base.extend(Searchlogic::NamedScopes::Ordering)
ActiveRecord::Base.extend(Searchlogic::NamedScopes::Associations)
ActiveRecord::Base.extend(Searchlogic::Search::Implementation)

if defined?(ActionController)
  require "searchlogic/rails_helpers"
  ActionController::Base.helper(Searchlogic::RailsHelpers)
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
binarylogic-search-2.0.0 lib/searchlogic.rb
binarylogic-searchlogic-2.0.0 lib/searchlogic.rb
binarylogic-searchlogic-2.0.1 lib/searchlogic.rb