Class: Ramaze::SequelCache::Table
- Defined in:
- lib/ramaze/contrib/sequel_cache.rb
Instance Method Summary collapse
-
#value ⇒ Object
use sequel’s built-in serialize function if you like execptions: the serialized data blows up the sql serialize :value, :format => :marshal.
Instance Method Details
#value ⇒ Object
use sequel’s built-in serialize function if you like execptions: the serialized data blows up the sql serialize :value, :format => :marshal
25 26 27 28 |
# File 'lib/ramaze/contrib/sequel_cache.rb', line 25 transform :value => [ lambda{|value| Marshal.load(Base64.decode64(value))}, lambda{|value| Base64.encode64(Marshal.dump(value))}, ] |