I can\'t understand what the difference is between a namespace and a scope in the routing of ruby-on-rails 3.
Could someone please explain?
namespace
from the rails guide
"The namespace scope will automatically add :as as well as :module and :path prefixes."
:as
:module
:path
so
namespace "admin" do resources :contexts end
is the same as
scope "/admin", as: "admin", module: "admin" do resources :contexts end