User settings

What would be the best way for an app to save a user’s settings?
The basecamp app has a settings controller (I assume) that has fields
such as ‘project name’ and ‘default templates’ all on one view. Is this
handled by a ‘project_name’ model and ‘default_template’ model that is
saved into a ‘settings’ table?
My requirements are to have a settings controller (or not), that will
consist of ‘project name’ and also a ‘zip codes’ field where the user
can enter in default zipcodes in a comma delimited way (92122, 92123,
etc.) which will be available as a selection list in different views of
the app.
Any help would be greatly appreciated, thanks.

Justin Ko wrote:

What would be the best way for an app to save a user’s settings?

A database.

Phrogz wrote:

Justin Ko wrote:

What would be the best way for an app to save a user’s settings?

A database.

Would this be a settings table or a table for each individual setting
e.g. zip codes table ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs