[Rails] Re: void value expression on model

2014-09-16 Thread Adrien R.
Hello, Thank you very much everybody, this was as simple as you told: parse error in player.rb. I wasn't looking in the good direction at all and was confused by the fact it was thrown while accessing the attribute (and then initializing the class). -- Posted via http://www.ruby-forum.com/.

[Rails] Re: void value expression on model

2014-09-16 Thread Matt Jones
On Tuesday, 2 September 2014 18:20:57 UTC-4, Ruby-Forum.com User wrote: > > Thank you Jason for your fast reply. I didn't know about the default > logger, I have changed my code. Yes it is in a controller, in the create > action: https://gist.github.com/anonymous/d138a4f2c76bb4b32dd2 > > The f

Re: [Rails] Re: void value expression on model

2014-09-15 Thread Hassan Schroeder
On Tue, Sep 2, 2014 at 3:20 PM, Adrien R. 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", "b

Re: [Rails] Re: void value expression on model

2014-09-14 Thread Colin Law
On 14 September 2014 09:58, Adrien R. wrote: > Hello, > > A little up for this problem which seems complex since nobody has the > answer yet. You have not quoted the previous message so I had to search back through the thread to find what you were talking about. Remember this is a mailing list n

[Rails] Re: void value expression on model

2014-09-14 Thread Adrien R.
Hello, A little up for this problem which seems complex since nobody has the answer yet. -- 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 email

[Rails] Re: void value expression on model

2014-09-09 Thread Adrien R.
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 tr

[Rails] Re: void value expression on model

2014-09-02 Thread Adrien R.
Thank you Jason for your fast reply. I didn't know about the default logger, I have changed my code. Yes it is in a controller, in the create action: https://gist.github.com/anonymous/d138a4f2c76bb4b32dd2 The full log: Started POST "/game" for 127.0.0.1 at 2014-09-03 00:14:49 +0200 Processing by G