Sha256: 2af55571d2fbb82a54e518886c1356a77aa9c049b02a2ed33c2aa8046461418b

Contents?: true

Size: 213 Bytes

Versions: 8

Compression:

Stored size: 213 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
thinking-sphinx-4.4.1 spec/internal/app/models/product.rb
thinking-sphinx-4.4.0 spec/internal/app/models/product.rb
thinking-sphinx-4.3.2 spec/internal/app/models/product.rb
thinking-sphinx-4.3.1 spec/internal/app/models/product.rb
thinking-sphinx-4.3.0 spec/internal/app/models/product.rb
thinking-sphinx-4.2.0 spec/internal/app/models/product.rb
thinking-sphinx-4.1.0 spec/internal/app/models/product.rb
thinking-sphinx-4.0.0 spec/internal/app/models/product.rb