hey guys, got a simple question here new to rails and loving it!
i have form
<%= form_tag :action => “answer”, :id => @question %>
<%= text_area “answer”, “body” %>
<%= submit_tag ‘Answer’ %>
and in my controller
redirect_to :action => “show”, :id => params[:id]
its storing the infromation (body, question_id) but not my user_id ,
how could i store it ?