Is there a way to download a generated excel file in a Ruby on Rails application?
After a user clicks on a link, I want to generate an excel file in the backend and have it formatted correctly. However, when I use remote: true in link_to, the file doesn't get downloaded even after the generation process is complete.
What steps can be taken to successfully download this file?