spec/models/external_artist.rb in mongoid_fulltext-0.4.5 vs spec/models/external_artist.rb in mongoid_fulltext-0.5.0

- old
+ new

@@ -1,6 +1,11 @@ class ExternalArtist include Mongoid::Document include Mongoid::FullTextSearch field :full_name fulltext_search_in :full_name, :index_name => 'mongoid_fulltext.artworks_and_artists' + + def to_s + full_name + end + end