session.model.update_attribute(:user_id, session[:user_id]) session.model.update_attribute(:requirement_title, params[:thread])
I found this on the net. Not sure how it works. Whenever a user clicks on a certain link, I want to update the session's, that corresponds to the user_id, :requirement_title.
What modifications would I have to make?
Thanks!