antirez/lamernews — Issue #102: $r Redis connection can be in configure
Author: razorinc
Created: 2011-11-04 13:39:41+00:00
State: open

From http://www.sinatrarb.com/configuration.html it's possible (somehow suggested) to use set and this make your variable global but safe.