ruby - Rails Non tabular settings -


what best practice storing non-tabular settings (configured end-user) application?

i know possible creating model , using it, creating one-row-table in database seems little wasteful me.

convert data yaml, , write configuration file.

require "yaml"  file.write(path_to_configuration_file, yaml.dump(obj)) # write  obj = yaml.load_file(path_to_configuration_file) # read 

Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

java - What is the difference between String. and String.this. ? -