i have a Project model, which belongs_to :user
when i add a project, the users_id is based on the session[:users_id].
to get the users_id into the projects table, i’m doing this:
@project = Project.new(params[:project])
@project.users_id = session[:users_id]
this is working, i’m just verifying this is the best way to do it.