Sha256: b0a88366c13d84275aa12a232df7df04510ec6e64b88a6a344e5e14073783391
Contents?: true
Size: 422 Bytes
Versions: 11
Compression:
Stored size: 422 Bytes
Contents
module Quandl module Cassinatra module Concerns module Search extend ActiveSupport::Concern included do include ScopeComposer::Model scope_composer_for :search search_helper :all, ->{ connection.where(attributes).fetch } search_helper :connection, -> { self.class.parent } search_scope.class_eval do delegate *Array.forwardable_methods, to: :all end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems