Sha256: dbc815bce4b8c1587c27b852d7c56bfd2d52c58899feb405f61ee6eaaf439ef6

Contents?: true

Size: 222 Bytes

Versions: 9

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

class Product < ActiveRecord::Base
  has_many :categorisations
  has_many :categories, :through => :categorisations

  ThinkingSphinx::Callbacks.append(self, :behaviours => [:real_time])
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thinking-sphinx-5.6.0 spec/internal/app/models/product.rb
thinking-sphinx-5.5.1 spec/internal/app/models/product.rb
thinking-sphinx-5.5.0 spec/internal/app/models/product.rb
thinking-sphinx-5.4.0 spec/internal/app/models/product.rb
thinking-sphinx-5.3.0 spec/internal/app/models/product.rb
thinking-sphinx-5.2.1 spec/internal/app/models/product.rb
thinking-sphinx-5.2.0 spec/internal/app/models/product.rb
thinking-sphinx-5.1.0 spec/internal/app/models/product.rb
thinking-sphinx-5.0.0 spec/internal/app/models/product.rb