On 13 February 2015 at 16:01, Frédéric Champreux <[email protected]> wrote: > Trying to upgrade from Ruby 2.0 / Rails 4.0 to Ruby 2.2 / Rails 4.2, I > face a surprising error when logging into my application (based on Rails > Tutorial by M. Hartl): > > Controller: SessionsController#create > Instruction: redirect_to root_url > Error message: wrong number of arguments (2 for 1)
Could you copy/paste the full error message from the terminal please? Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu-Y%2BxUj52a002O3CwOvgUi9Cz6G85qrA%2BurvCGMspTSA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

