RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Netherdrake
If you are using MongoID, than do this in your initializer: Mongoid::Document.send(:include, ActiveModel::ForbiddenAttributesProtection)
If you are using MongoID, than do this in your initializer:
Mongoid::Document.send(:include, ActiveModel::ForbiddenAttributesProtection)