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 %>
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 %>