I can’t imagine what I’m trying to do is complicated at all in Rails.
Yet, I am now getting this error: undefined method `state’ for
@student = @student.find params[:id]
form_for @student do |f| f.collection_select(
:student_fail_attribute, params[:StudentFailState.state], params[:id],
true is an attribute of the StudentFailState table. There are three
records in that table. So in the dropdown it will display the text (key
attribute) of each table and each table will have an id.
Any suggestions? Thanks.