Where to put private documents to use in Rails applications?
问题 I have some template files I would like to use in my rails App. I was wondering where(under which directory) to put them given two scenarios: They are private to my application (Only webmaster can delete, change them) They are private to my application but also they can be managed by admins(deleted, modified) 回答1: Update after comments Since you want to serve the files locally, just put them outside of the /public/ folder and outside of any of the /assets/ folders and you should be good. You