spec/models/mongoid.rb in activesearch-0.0.6 vs spec/models/mongoid.rb in activesearch-0.0.7
- old
+ new
@@ -27,7 +27,7 @@
include Mongoid::Document
include ActiveSearch::Mongoid
field :title, localize: true
field :special_type
- search_by :title, store: [:title], type: :special_type
+ search_by :title, store: [:title]
end
\ No newline at end of file