fix for CanCan ActiveModel::ForbiddenAttributesError with rails 4