Sha256: 4aa18fa3c85dd116778ab0d2aad4fbbbc8ab1539b34f01db932e3c36a5553fe4

Contents?: true

Size: 474 Bytes

Versions: 31

Compression:

Stored size: 474 Bytes

Contents

module Searchlogic
  class Search
    # Responsible for adding a "search" method into your models.
    module Implementation
      # Additional method, gets aliased as "search" if that method
      # is available. A lot of other libraries like to use "search"
      # as well, so if you have a conflict like this, you can use
      # this method directly.
      def searchlogic(conditions = {})
        Search.new(self, scope(:find), conditions)
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 4 rubygems

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