Hello, I have a comments table which includes a column for user_id
I have the follow in my comments controller
def create
@commentable= context_object()
@comment = @commentable.comments.build(params[:comment])
.
.
Problem is this doesn't pass the current_user's user_id. How can I update the above to be something like current_user.comments.build....
Thanks