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.
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
2 matches
Mail list logo