Rails 5 Active Record - is it possible to keep a table in memory?
问题 If we have a small table which contains relatively static data, is it possible to have Active Record load this in on startup of the app and never have to hit the database for this data? Note, that ideally I would like this data to be join-able from other Models which have relationships to it. An example might be a list of countries with their telephone number prefix - this list is unlikely to change, and if it did it would be changed by an admin. Other tables might have relationships with