On Tue, Sep 2, 2014 at 3:20 PM, Adrien R. <li...@ruby-forum.com> wrote:

> Started POST "/game" for 127.0.0.1 at 2014-09-03 00:14:49 +0200
> Processing by GameController#create as HTML
>   Parameters: {"utf8"=>"V",
> "authenticity_token"=>"gx7TovN+tZbMxOTc91l5P/5jqviBx
> eO9vlJQaxJ19No=", "game"=>{"small_blind"=>"1", "big_blind"=>"2",
> "player_number"
> =>"2"}, "commit"=>"New game !"}
> cards
> #<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_Collect
> ionProxy_Card:0x3b762e8>
> 0
> players
> Completed 500 Internal Server Error in 114ms
>
> SyntaxError
> (C:/site/app/models/player.rb:48: void value expression):
>   app/controllers/game_controller.rb:11:in `create'

'void value expression' indicates a parsing error - what is on line 48
of your player model?

Ideally, post *all* the code of that model in a gist so it's readable...

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
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/CACmC4yCeJzs6SwA%2B1nb%2BYePpo4AaQYQ7Xh1ht-o1dNk10Yxh9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to