Ruby on Rails Tuesday, September 9, 2014

Hello,

Thank you for your remarks but it doesn't seem to be the reason here:
"cards" is not in "Parameters" but it successfully accesses the
attribute when I log it.
I have run another page to display a game (already existing in the db),
I have got the same error "void value expression" when trying to access
the attribute "players" of the Object "game" (previously it worked
fine).

It appears that rails doesn't know about the "players" attribute. Where
should I check the definition ?

Thank you for your help, I'm really stuck.

--
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+unsubscribe@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/672d371befe30b5364745c3dc21dcad8%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment