spec/models/translation.rb in mongoid-eager-loading-0.2.0 vs spec/models/translation.rb in mongoid-eager-loading-0.3.0
- old
+ new
@@ -1,5 +1,5 @@
class Translation
include Mongoid::Document
field :language
- embedded_in :name, :inverse_of => :translations
+ embedded_in :name
end