Sha256: 82354b9547338784a8d9a7e65a52369702c5ee9e6eab9a26d0898bb742f6411f
Contents?: true
Size: 383 Bytes
Versions: 7
Compression:
Stored size: 383 Bytes
Contents
class ThinkingSphinx::Distributed::Index < Riddle::Configuration::DistributedIndex attr_reader :reference, :options def initialize(reference) @reference = reference @options = {} super reference.to_s.gsub('/', '_') end def delta? false end def distributed? true end def model @model ||= reference.to_s.camelize.constantize end end
Version data entries
7 entries across 7 versions & 1 rubygems