Where to Store XML Files in Rails

I am writing a Ruby on Rails site that loads some data from a local XML file that I have. Where is the logical place in the rails directory structure to store this file?

+4
source share
1 answer

The main question is: for what reason do you have XML files: configuration information or data warehouse. If at first - then the congif folder will be the best place, otherwise - anywhere except the shared folder, you can even create the xml folder inside the one application.

+1
source

Source: https://habr.com/ru/post/1415591/


All Articles