Sha256: 7184ac3b1889ecf9725d9ff8d468edbe64ccda48c2666290408c6a594c77ff77

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

module ActsAsIndexed

  # Adds model class singleton methods.
  module SingletonMethods

    # Finds instances matching the terms passed in +query+.
    #
    # See ActsAsIndexed::ClassMethods#search_index.
    def find_with_index(query='', find_options = {}, options = {})
      search_index(query, find_options, options)
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_indexed-0.9.0 lib/acts_as_indexed/singleton_methods.rb
acts_as_indexed-0.8.3 lib/acts_as_indexed/singleton_methods.rb
acts_as_indexed-0.8.2 lib/acts_as_indexed/singleton_methods.rb
acts_as_indexed-0.8.1 lib/acts_as_indexed/singleton_methods.rb
acts_as_indexed-0.8.0 lib/acts_as_indexed/singleton_methods.rb