I generated a user model with the following fields user_identifier
and notification_time
:
rails g user user_identifier:string notification_time:string
Now I would like to set the notification_time
to a default value that would be to 17:00
What would be the best way to do this? writing a callback? If yes, how?