README.md in sunspot_mongoid-0.1.2 vs README.md in sunspot_mongoid-0.2.0
- old
+ new
@@ -18,10 +18,10 @@
class Post
include Mongoid::Document
field :title
include Sunspot::Mongoid
- sunspot_setup do
+ searchable do
text :title
end
end
# indexing