[Rails] Re: undefined method 'state'

2010-02-10 Thread John Merlino
This gives undefined method join error: form_for @student do |f| f.collection_select(:student_fail_attribute, StudentFailState.all, :id, :key) end -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: undefined method 'state'

2010-02-10 Thread Marnen Laibow-Koser
John Merlino wrote: 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 :StudentFailState:Symbol. student.rb has_one :student_fail attr_accessor :student_fail_attribute #controller def student_fail