The actual API is also up for debate, so feel free to have better ideas than just using ActiveModel::Errors. The new README proposes: ``` ruby def validate errors.add(:id, "can't contain spaces") if id.include?(" ") end ``` - [ ] This needs to be implemented. - [ ] Remove the old validations module from alpha_compat?
The actual API is also up for debate, so feel free to have better ideas than just using ActiveModel::Errors. The new README proposes: