Sha256: fe69670ae44f3696eacc01d505535b56518de81c0d52cd6587223c83015dde06

Contents?: true

Size: 255 Bytes

Versions: 20

Compression:

Stored size: 255 Bytes

Contents

module Mongoid
  module Elasticsearch
    module Callbacks
      extend ActiveSupport::Concern

      included do
        after_save do
          es_update
        end

        after_destroy do
          es_update
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mongoid-elasticsearch-0.7.0 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.6.1 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.6.0 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.5.1 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.5.0 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.4.3 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.4.2 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.4.1 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.4.0 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.9 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.8 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.7 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.6 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.5 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.4 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.3 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.2 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.1 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.3.0 lib/mongoid/elasticsearch/callbacks.rb
mongoid-elasticsearch-0.2.1 lib/mongoid/elasticsearch/callbacks.rb