Module: Ripple::Indexes::DocumentMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/ripple/indexes.rb

Overview

Modifies the persistence chain to set indexes on the internal Riak::RObject before saving.

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#update_robjectObject



75
76
77
78
# File 'lib/ripple/indexes.rb', line 75

def update_robject
  robject.indexes = indexes_for_persistence
  super
end