Hey all,
Recently I've been looking into on how to return back to a previous
referring URL and and the most common approach is:
redirect_to session[:return_to]
But some recommend:
redirect_to(session.delete(:return_to) || default)
How I understand it, in the second example we call
I had downloaded ruby, rails, and rubygems previously on my hard drive
when I ran Windows. I just downloaded Ubuntu and tried to use RoR but it
wasn't working, so I figured I had to follow the installation procedure
listed here http://guides.rubyonrails.org/getting_started.html to get it
working.
2 matches
Mail list logo