I have a yaml file of application settings (arrays and hashes) that I would like a user to be able to edit through a view. What is the best way to do this?
Load the yaml file into an object that the view helper fields_for
can use? So an ActiveModel or OpenStruct object?
These are application settings and are not associated with a particular user.
In the end I used an interim active record object with a serialze column as advised by Dmitri and then can use YAML.dump(app_config.settings, file) to create a yaml file