Why not make a helper in app/helpers/application_rb:
def the_var Variable.find :first end
Then, in your layout, or in any view:
<%= h the_var.some_column %>
"global" variables like this are generally a bad idea, and should be avoided if possible.