How to get the user_id

@comment.user = User.find(session[:user_id])

0 comments:

Post a Comment