search for: studentfails

Displaying 1 result from an estimated 1 matches for "studentfails".

Did you mean: student_fail
2010 Feb 20
3
update user input to another table without using html form
...ill input data in a third-party application that will communicate with the rails controller through http requests, but serves as a replacement to the html. In other words, it''s taking the place of front end. My question is can you update the attributes of another table, let''s say studentfails table, from let''s say a students controller (which has a students table) based on user input (the user input needs to be inserted in the studentfails table). I was hoping something like this, but this doesn''t work: student.rb has_one :student_fail attr_accessor :student_fail_att...