Rails, Is there any way in my view use link_to to grab the contents of a specific field and place it

Posted by Datatec on Stack Overflow See other posts from Stack Overflow or by Datatec
Published on 2010-06-02T20:01:45Z Indexed on 2010/06/02 20:04 UTC
Read the original article Hit count: 116

Filed under:
|

Basically I am trying to capture the value of the form field before it is saved to the database. Then I intend to use that value in my controller to update a specific field in the database, using @taskforms.update_attribute('notes', $notes)

I need to do this because I know of no other way to update that that does not require the full record to be validated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rails