I'm creating a website CMS in Rails (for fun and learning) and I'm trying to figure out how I'm going to store the data for an about page. Due to the nature of this page, the data will only have one instance, it may change and will be persistent so I want to store it in my database but I'm not sure if this is the best approach.While a database is obviously quite capable but I feel like it's not the best place for it, as this data is not an object that will ever have multiple instances such as something like a user account.Is there a normal way of doing this, is storing it in the database the normal thing to do and instead just pull forward a single row form the database?
Storing persistent data that only has a single instance but can change
web development;database;web applications;database design;storage
I'd store it there, since you have a database anyway and each release can just update the row as needed.  I don't see why it matters how many instances you'll have of the class which uses the data.  I sometimes create a system table that holds configuration data for the application even though there will only ever be one row.  If your app needs a database connection to do anything useful, there's no reason to not put this sort of thing there.  You may find you have other similar pages, and so you may restructure your table at some point for their data as well.