Displaying 1 result from an estimated 1 matches for "date_reject".
Did you mean:
date_object
2006 May 10
2
gain value from form
...;%= submit_tag ''Update'' %>
<%= end_form_tag %>
How can I gain the value of the text field in projects_controller.rb and
then save it to another table by doing somthing like
@project = Project.find(params[:id])
@offer = Offer.find(@project.offer_id)
@offer.date_rejected = Time.now
#########get value here###########
@offer.reason_rejected =
@offer.save
--
Posted via http://www.ruby-forum.com/.