Displaying 2 results from an estimated 2 matches for "posted_bi".
Did you mean:
posted_by
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]).name.capitalize) %>
But I get
2011 Mar 03
6
Show a value in view
Hello All,
I am working on a microblogging application.(similar to twitter)
In my controller there is a method called replypopUp.It is a method
that runs when the reply link on timeline is 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