KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to execute a custom validation before the record is created? It looks as if this is the right method: before_validation_on_create. For example: before_validation_on_create :custom_validation But am not sure. Any help would be appreciated.
Tags (comma-separated)
Save Edits
Cancel