See this StackOverflow question to understand what all this is for.
Thanks for any help.
Attached are:
01_config_routes.rb
-- showing how the:comments
resource is nested within:articles
02_app_models_article.rb
-- showing the (containing)Article
model03_app_models_comment.rb
-- showing the (contained)Comment
model04_app_models_ability.rb
-- "main" CanCanAbility
class; uses three modules (05-07) to manage the specifics of the three different roles (guest, logged-in user and admin);