storing settings ?

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
feed, etc.

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
  before_filter :myconstants

  def myconstants
    @settings = Settings.find(:first)

that's all fine but is there any way i could do this better ?

appreciate any insight on this,

found this, looks way better than what i'm doing.