Hi, i'm building a blogging engine and it has a settings panel where the
user set the blogs url, title, how many posts to display, how many in a
These settings are stored in a table, in one record, which i've got in
Now to have those settings available to all the controllers / helpers /
etc. i've got this defined in the Application Controller...
class ApplicationController < ActionController::Base
@settings = Settings.find(:first)
that's all fine but is there any way i could do this better ?
appreciate any insight on this,