> 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
-
-
3/ we've got two distinct functions this is like saying "we used to have a glass that holds either milk or soda, but now we've IMPROVED that by having two distinct things: a soda mug and a milk stein, and ...each throws an error if you try to put the other thing in it" thanks
Show this threadThanks. 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.