I want to know how I would do a validation in my model for when the @ model.update_attributes (params) in my controller is called to return a possible error or false which seems to be the default returned by update_attributes.
Following the logic of fat models, I thought of putting the validation in the model as it would thin my controller.
The question is how to implement this in the model so that my controller only continues with @ model.update_attributes (params). And return false if validation does not pass.
Validation should happen only in the update.