On Sat, Feb 14, 2015 at 12:01 AM, Frédéric Champreux
<lists@ruby-forum.com> 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)
probly the redirect_to is not clean. check its code. (compare w the
newly installed railstutorial)
usually when you upgrade rails/ruby to maj ver, youd also want to
upgrade the gems...
kind regards --botp
--
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/CAAwHHQjCQG70xvByaSToEiGwe96kk%3DXXF7B7qJfn0aZm1K01LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment