Sha256: d29ed4b199eb17906f215cb63b2130762e8607a3cec54be08669e10dfa1e8e68
Contents?: true
Size: 424 Bytes
Versions: 3
Compression:
Stored size: 424 Bytes
Contents
class ThinkingSphinx::ActiveRecord::Callbacks::DeleteCallbacks < ThinkingSphinx::Callbacks callbacks :after_destroy def after_destroy indices.each { |index| ThinkingSphinx::Deletion.perform index, instance } end private def config ThinkingSphinx::Configuration.instance end def indices config.preload_indices config.indices_for_references instance.class.name.underscore.to_sym end end
Version data entries
3 entries across 3 versions & 1 rubygems