Ruby on Rails Callback, what is difference between :before_save and :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?

3 Answers
3

Leave a Comment