Sha256: 8ebb45b103b07e1ce45f1c3f290c4a096fd9d39b3825fdf64c47e405f2ba801c

Contents?: true

Size: 182 Bytes

Versions: 13

Compression:

Stored size: 182 Bytes

Contents

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

  after_save ThinkingSphinx::RealTime.callback_for(:product)
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 spec/internal/app/models/product.rb
thinking-sphinx-3.4.1 spec/internal/app/models/product.rb
thinking-sphinx-3.4.0 spec/internal/app/models/product.rb
thinking-sphinx-3.3.0 spec/internal/app/models/product.rb
thinking-sphinx-3.2.0 spec/internal/app/models/product.rb
thinking-sphinx-3.1.4 spec/internal/app/models/product.rb
thinking-sphinx-3.1.3 spec/internal/app/models/product.rb
thinking-sphinx-3.1.2 spec/internal/app/models/product.rb
thinking-sphinx-3.1.1 spec/internal/app/models/product.rb
thinking-sphinx-3.1.0 spec/internal/app/models/product.rb
thinking-sphinx-3.0.6 spec/internal/app/models/product.rb
thinking-sphinx-3.0.5 spec/internal/app/models/product.rb
thinking-sphinx-3.0.4 spec/internal/app/models/product.rb