Sha256: 9d1e2292d6f7f0c1dfbd19ee2681f3fa279aca4c52843a50bf756d073ab310bc

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

require 'active_support/concern'

require 'zermelo/records/base'

# TODO check escaping of ids and index_keys -- shouldn't allow bare :, ' '

# TODO callbacks on before/after add/delete on association?

module Zermelo

  module Records

    module RedisRecord

      extend ActiveSupport::Concern

      include Zermelo::Records::Base

      included do
        set_backend :redis
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zermelo-1.1.0 lib/zermelo/records/redis_record.rb
zermelo-1.0.1 lib/zermelo/records/redis_record.rb
zermelo-1.0.0 lib/zermelo/records/redis_record.rb