RE: [Rails] Re: Best way to implement application-wide variables?

I don't know if this is proper or not

But lately ive been doing something like this in application.rb

$globals=Globals.find(1)

Then anywhere you need the global data you just

<%= $global.bgcolor %>