# File lib/ramaze/cache/sequel.rb, line 158 def cache_setup(hostname, username, appname, cachename) @namespace = [hostname, username, appname, cachename].compact.join(':') # Create the table if it's not there yet if !options[:connection].table_exists?(options[:table]) options[:connection].create_table( options[:table]) do primary_key :id String :key , :null => false, :unique => true String :value, :text => true Time :expires end end @dataset = options[:connection][options[:table].to_sym] end