spec/models/russian_artwork.rb in mongoid_fulltext-0.8.0 vs spec/models/russian_artwork.rb in mongoid_fulltext-0.8.2

- old
+ new

@@ -1,10 +1,10 @@ -# coding: utf-8 + class RussianArtwork include Mongoid::Document include Mongoid::FullTextSearch - Alphabet = 'abcdefghijklmnopqrstuvwxyz0123456789абвгдежзиклмнопрстуфхцчшщъыьэюя' + Alphabet = 'abcdefghijklmnopqrstuvwxyz0123456789абвгдежзиклмнопрстуфхцчшщъыьэюя'.freeze field :title fulltext_search_in :title, alphabet: Alphabet end