Exploring the possibility of testing out two different interfaces for my Rails application has led me to consider using two separate CSS files - one for each interface. For instance, I envision having a new_interface.css and an old_interface.css file for this purpose. Currently, I have created two distinct partials for the interfaces: _new_interface.html.erb and _old_interface.html.erb. The challenge now is how to ensure that the correct CSS file is invoked when a specific view is loaded. Essentially, if I were to load _new_interface.html.erb, I want it to utilize the new_interface.css file exclusively, bypassing the old_interface.css file.
Here is a snippet from my application.css:
/*
*= require_tree
*/