Sha256: 4929c13a1ebbebd53228170c2a8b74d06a22e815e31254c4ac7fb47f051afa7e

Contents?: true

Size: 665 Bytes

Versions: 31

Compression:

Stored size: 665 Bytes

Contents

module Searchlogic
  # A class that acts like a model, creates attr_accessors for named_scopes, and then
  # chains together everything when an "action" method is called. It basically makes
  # implementing search forms in your application effortless:
  #
  #   search = User.search
  #   search.username_like = "bjohnson"
  #   search.all
  #
  # Is equivalent to:
  #
  #   User.search(:username_like => "bjohnson").all
  #
  # Is equivalent to:
  #
  #   User.username_like("bjohnson").all
  class Search
    include Base
    include Conditions
    include DateParts
    include MethodMissing
    include Scopes
    include Ordering
    include ToYaml
  end
end

Version data entries

31 entries across 31 versions & 4 rubygems

Version Path
searchlogic-2.5.19 lib/searchlogic/search.rb
searchlogic-2.5.18 lib/searchlogic/search.rb
searchlogic-2.5.17 lib/searchlogic/search.rb
searchlogic-2.5.16 lib/searchlogic/search.rb
searchlogic-2.5.15 lib/searchlogic/search.rb
searchlogic-2.5.14 lib/searchlogic/search.rb
searchlogic-2.5.13 lib/searchlogic/search.rb
searchlogic-2.5.12 lib/searchlogic/search.rb
searchlogic-2.5.11 lib/searchlogic/search.rb
searchlogic-2.5.10 lib/searchlogic/search.rb
searchlogic-2.5.9 lib/searchlogic/search.rb
searchlogic-2.5.8 lib/searchlogic/search.rb
searchlogic-2.5.7 lib/searchlogic/search.rb
searchlogic-2.5.6 lib/searchlogic/search.rb
searchlogic-2.5.5 lib/searchlogic/search.rb
searchlogic-2.5.4 lib/searchlogic/search.rb
searchlogic-2.5.3 lib/searchlogic/search.rb
searchlogic-2.5.2 lib/searchlogic/search.rb
searchlogic-2.5.1 lib/searchlogic/search.rb
searchlogic-2.5.0 lib/searchlogic/search.rb