spec/models/external_artist.rb in mongoid_fulltext-0.6.1 vs spec/models/external_artist.rb in mongoid_fulltext-0.7.0
- old
+ new
@@ -1,11 +1,10 @@
class ExternalArtist
include Mongoid::Document
include Mongoid::FullTextSearch
field :full_name
- fulltext_search_in :full_name, :index_name => 'mongoid_fulltext.artworks_and_artists'
+ fulltext_search_in :full_name, index_name: 'mongoid_fulltext.artworks_and_artists'
def to_s
full_name
end
-
end