Set default values to ActiveRecord attributes using callback

Published: 20 September 2022
on channel: APPSIMPACT Academy
391
9

#rubyonrails #ror #railscallbacks #rordev #railsdevelopment
Hello Friends

In this lecture, we will see how to set default values to ActiveRecord model attributes using before_create callback. This is very basic yet good to know concept. In this lecture you will see when to use and when not to use self in instance method in a model class. Please watch the complete lecture for a better understanding.

Thanks


On this page of the site you can watch the video online Set default values to ActiveRecord attributes using callback with a duration of hours minute second in good quality, which was uploaded by the user APPSIMPACT Academy 20 September 2022, share the link with friends and acquaintances, this video has already been watched 391 times on youtube and it was liked by 9 viewers. Enjoy your viewing!