Could you explain in detail what the :before_save
and :before_create
Ruby on Rails callbacks are, and what they have to do with Rails validations? Does validation occur after :before_save
or :before_create
?
Could you explain in detail what the :before_save
and :before_create
Ruby on Rails callbacks are, and what they have to do with Rails validations? Does validation occur after :before_save
or :before_create
?