Here is my controller
https://gist.github.com/budkin/f02a5baed02e71a4f94f
on line 182 it throws an error
>E [2014-09-08 18:36:07.171] [[31mDispatcher[0m] NoMethodError: undefined
method `row_vectors' for nil:NilClass>E [2014-09-08 18:36:07.171] [[31mDispatcher[0m]
/home/budkin/gamestown/app/controllers/games/gomoku_controller.rb:182:in
`block in win?'>E [2014-09-08 18:36:07.172] [[31mDispatcher[0m]
/home/budkin/gamestown/app/controllers/games/gomoku_controller.rb:181:in
`times'>E [2014-09-08 18:36:07.172] [[31mDispatcher[0m]
/home/budkin/gamestown/app/controllers/games/gomoku_controller.rb:181:in
`win?'>E [2014-09-08 18:36:07.172] [[31mDispatcher[0m]
/home/budkin/gamestown/app/controllers/games/gomoku_controller.rb:97:in
`register_move'
.
.
.
this means that
`controller_store["gomoku_guess#{connection_store[:game].id}"]`
invoked
on line 97 is nil, but I'm sure that I did assign it Matrix on line 60.
Why it changed? The interesting thing that this error doesn't happen on
my local machine, only when someone connects to me and we play this game
together
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/fd90b267d0c405f42284297320331215%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.