module ElasticMapper::Search
Add search to an ActiveRecord model. The id field is used to load the underlying models from the DB.
Public Class Methods
included(base)
click to toggle source
# File lib/elastic_mapper/search.rb, line 6 def self.included(base) base.extend(ClassMethods) end