Sha256: d92ef5039b7c8f2ec798301aea11e4aebb8808b653a548d681e9e4206d6314ab

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

require 'active_record'
require 'active_support'
require 'digest'
require 'benchmark'
require 'db_memoize/version'
require 'db_memoize/value'
require 'db_memoize/model'
require 'db_memoize/railtie' if defined?(Rails)

module DbMemoize
  class << self
    attr_accessor :default_custom_key
    attr_writer :logger

    def logger
      @logger ||= ::Logger.new(STDOUT)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
db_memoize-0.1.3 lib/db_memoize.rb
db_memoize-0.1.2 lib/db_memoize.rb
db_memoize-0.1.1 lib/db_memoize.rb
db_memoize-0.1.0 lib/db_memoize.rb