initial insert of data

hi,

i need to insert various records (system records) into various tables after the initial login/creation of a new user. what would be the best way of accomplishing that since i need to insert as well the user_id in those tables too.

thx tom

You could just call a model method from the controller.

You probably want to use after_create in your user model:

http://www.therailsway.com/2006/12/8/idiomatic-ruby