Chris, thanks for the qick reply!
Your comment about "layout" inspired me to read the docs and now I understand how controllers decide what layout to use. Inserting
layout "application" in the controller inheriting from
ActionController::Base fixed the issue. I now understand too that I could have made a sperate layout with the same name as the controller, or its parent, and put the stylesheet tag in it, and all would work as expected.
Appreciate your help! Keep up the great work!
I followed your instructions, and everything works well except when a view is rendered from an action of a controller that does not inherit from
ApplicationController. If the controller inherits directly from
ActionController::Base, the view is not styled by bootstrap.
What's the deal with that? Any insight you can offer would be greatly appreciated!