Sha256: b85edb9837818058b15ca94ccc50fe124a21ad5e4e03796a556bc6eb5e7fe5de

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

require "byebug"
require "active_support"
require "active_support/core_ext"
require "active_record_seek/version"
# concerns
require "active_record_seek/concerns/instance_variable_concern"
# core
require "active_record_seek/query"
require "active_record_seek/component"
require "active_record_seek/middleware"
# operators
require "active_record_seek/operators/base_operator"
require "active_record_seek/operators/matches_base_operator"
require "active_record_seek/operators/regexp_base_operator"
require "active_record_seek/operators/ci_base_operator"
require "active_record_seek/operators/ci_matches_base_operator"
require "active_record_seek/operators/ci_regexp_base_operator"
# scopes
require "active_record_seek/scopes/base_scope"
require "active_record_seek/scopes/association_scope"
require "active_record_seek/scopes/seek_or_scope"
require "active_record_seek/scopes/seek_scope"
# callbacks
require "active_record_seek/concerns/active_record_concern"

ActiveSupport.on_load(:active_record) do
  # adds builder methods used to initialize seek scopes on columns of a model
  include ActiveRecordSeek::Concerns::ActiveRecordConcern
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_record_seek-0.0.5 lib/active_record_seek.rb
active_record_seek-0.0.4 lib/active_record_seek.rb
active_record_seek-0.0.3 lib/active_record_seek.rb
active_record_seek-0.0.2 lib/active_record_seek.rb
active_record_seek-0.0.1 lib/active_record_seek.rb