search for: posted_by

Displaying 2 results from an estimated 2 matches for "posted_by".

Did you mean: posted_at
2006 May 08
4
<%= text_field %> - how to set the value to session name?
I''m trying to automatically fill a "posted_by" text by with whoever is logged into the session. How do you set the value attribute using "<%= text_field ... %>"??? I''ve tried: <%= text_field ''post'', ''posted_by'', ''value'' => User.find(session[:user_id...
2011 Mar 03
6
Show a value in view
...s clicked.When I a click on the link a pop-up appears in which there is a text area and a post button.Inside the text area,the name of the user to whom I am replying should appear in the form ''@username:'' Now in my controller method I am taking that user''s name using @posted_by_name = params[:posted_by] In my view my text area looks like this <textarea name="message" id="message" maxlength ="400" style="overflow:auto;width:100%;height: 56px ;"onkeyup="checkPostFieldLength(message,''remaining'', 400);"o...