You may want to experiment with the topics from the reading in the context of a Rails app before answering these questions.
- What does
scope
do? - What does
module
do? - What does
namespace
do? - If you have a route:
namespace :admin do
resources :cats
end
What routes does this generate? What controller and action does each route map to?
- What are filters?
- How could we use filters to authorize users?