I’ve always felt that the View side being compartimentalized in
app/assets/stylesheets/path/to/view.css, with the controller
For general site-wide JS and CSS that’s fine (a bit like there’s
lib/ / gems to put general code), but I feel that it is putting closely related things very far from one another in the tree of documents of a Rails app. The fact that some files are in
stylesheets is also redundant, we know that from the extension anyways.
I imagine they are currently organized this way because of how they get delivered, instead of how they are logically related. The fact that all CSS will typically be regrouped in a big file shouldn’t mean that they have to be grouped together to start with.
I feel that
view.css belong together and I wish that, by default, they would be (or at least could be) in the same folder. The controller could be one level higher too.