Sha256: 497e70cf0d3c5e0e350ec26f71bd7fec9e92cc61e60683dca92b1b6c5027a50e
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 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
7 entries across 7 versions & 1 rubygems