Not sure if I described this the best in the subject, but here is my
I have a 'settings' table, that I am storing application configuration
data. On my settings "edit" page, I am just grabbing the first entry
(you can't add more entries, again, just a config table)
@setting = Setting.find(1)
I need to access some of that data in the main layout. For instance, the
color (hex) of the template. The "name" of the application, etc.
How would I go about doing that?