spec/models/russian_artwork.rb in mongoid_fulltext-0.6.1 vs spec/models/russian_artwork.rb in mongoid_fulltext-0.7.0
- old
+ new
@@ -4,7 +4,7 @@
include Mongoid::FullTextSearch
Alphabet = 'abcdefghijklmnopqrstuvwxyz0123456789абвгдежзиклмнопрстуфхцчшщъыьэюя'
field :title
- fulltext_search_in :title, :alphabet => Alphabet
-end
\ No newline at end of file
+ fulltext_search_in :title, alphabet: Alphabet
+end