spec/fixtures/models.rb in mebla-1.0.0 vs spec/fixtures/models.rb in mebla-1.0.1
- old
+ new
@@ -21,9 +21,15 @@
embeds_many :mongoid_gammas
search_in :name => {:boost => 2.0, :analyzer => 'snowball'}
end
+class MongoidTheta < MongoidAlpha
+ field :extra
+
+ search_in :extra
+end
+
class MongoidGamma
include Mongoid::Document
include Mongoid::Mebla
field :name
field :value, :type => Integer
\ No newline at end of file