Michael Aleksandrovich wrote in post #1120644:
> Instance of Question doesn't have attribute "key".
> If this is ActiveRecord, you maybe should make migration "add_column
> :questions, :key, :string", OR within class scope write "attr_accessor
> :key"
>
> , 4  2013 ., 15:17:47 UTC+3  Ruby-Forum.com User
> :

I thought key was a variable containing the attribute. The instance of 
Question should have the attribute contained in the variable...  It just 
doesn't seem to be evaluating key.

I'm sure i'm missing something simple...

Any other possibilities?

Dave

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0fcf1758efbcec93855835955bbdf694%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to