Yes it
application.css
*= require this_file *= require that_file
home.css
*= require this_file *= require home_file
etc.
you can do this in your application layout:
<%= stylesheet_link_tag "application", media: "all" %>
and home layout
<%= stylesheet_link_tag "home", media: "all" %>
you will also need to configure production.rb
config.assets.precompile += %w( application.css home.css home.js )
including all compiled files that you reference in the layouts.
source share