Sha256: 8825a8af8d6cfc3fc75d7cb5f34b5e143c4a5e857561cc8f47d7b118e13499c3
Contents?: true
Size: 315 Bytes
Versions: 3
Compression:
Stored size: 315 Bytes
Contents
module GreyscaleRecord module Indexable extend ActiveSupport::Concern included do class << self # DEPRICATED # TODO: remove def index(field) return if GreyscaleRecord.live_reload data_store.add_index( name, field ) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
greyscale_record-1.0.2 | lib/greyscale_record/indexable.rb |
greyscale_record-1.0.1 | lib/greyscale_record/indexable.rb |
greyscale_record-1.0.0 | lib/greyscale_record/indexable.rb |