Permalink
Browse files

Added the awesome patch to Ramaze::Cache::Sequel added by Lars Olsson…

…. While I cleaned up

most of the code so that it meets the standards of Ramaze it could be that I missed 
something so it would be cool if @manveru could take a better look at it.

An example of using the new Sequel cache works like the following:

Ramaze.options.cache.session = Ramaze::Cache::Sequel.using(
  :connection => Sequel.mysql(
    :host     => 'localhost', 
    :user     => 'user',
    :password => 'password', 
    :database => 'blog'
  ),
  :table => :blog_sessions
)

For more information on this patch read the following thread on the mailing list: 
https://groups.google.com/d/topic/ramaze/kWO8u5NrA-c/discussion
  • Loading branch information...
1 parent bc9dcbf commit c5587c0d3feda8ca2c89399418ac1132d0236fcb YorickPeterse committed Apr 18, 2011
Showing with 279 additions and 117 deletions.
  1. +279 −117 lib/ramaze/cache/sequel.rb
Oops, something went wrong.

0 comments on commit c5587c0

Please sign in to comment.