I’m using devise to handle my users and as part of my application each user has their own ‘todo’ list. I’m trying to create 5 items in a new list every time a new user is created (so they have some sample data).
What is the best way to do this? I’ve looked at migrations and seed.rb but these don’t seem to meet my needs.
Any help would be really appreciated!
Cheers!
use
:after_createhook.