Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to store XML files in Rails

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

like image 216
AntonDelprado Avatar asked Nov 14 '22 04:11

AntonDelprado


1 Answers

Main question here is for what reason you have that XML files: configuration info or data storage. If first - then best place will be congif folder, otherwise - anywhere you like except public folder, you could even create xml folder inside app one.

like image 180
ABrukish Avatar answered Dec 01 '22 01:12

ABrukish