spec/models/article.rb in mongoid-elasticsearch-0.4.3 vs spec/models/article.rb in mongoid-elasticsearch-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
class Article
include Mongoid::Document
include Mongoid::Timestamps::Short
- include ActiveModel::ForbiddenAttributesProtection
+ #include ActiveModel::ForbiddenAttributesProtection
field :name
include Mongoid::Slug
slug :name