First of all make sure you setup your relationships in you models
correctly. There are several ways to get the user id and it depends
on the context that you need to find the id. You can grab a user based
off of an id by User.find(:params[id]), this will return a user object
with the given id. Hope this points you in the right direction.
Max Williams wrote: