Forum: Ruby on Rails Web Settings and different models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Scott Parks (Guest)
on 2007-07-29 05:26
(Received via mailing list)
I am working on a web app that will have administrator options which
in turn will populate a select list on the client
side of the application.

Being new to Rails I have two questions...

I have a table of states and a table of countries.  If I understand
things correctly if I want to a list like states and make
it sticky I will need to create a model for each?

The application has multiple options that can be set such as Private
or Public, City or Country, etc.  Do I need to make
a table for each option and then have a model for each to make that
list sticky when the form is called up?

Thank you in advance for your help.

This topic is locked and can not be replied to.