> Improvement in Rails 5 In Rails 5, redirect_to :back has been deprecated and instead a new method has been added called redirect_back. "improvement" sigh so now my code that used to say return redirect_to foo() def foo X ? some_url : :back end doesn't work
-
-
Well, yes. But they seem to like doing that. Presumably replacing :back with "headers['referer'] || throw" or so in your ternary will fix it, but still annoying.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.