Sha256: 87741b8ab62e7606a34cef2ab9d53197c1a4ebe91ba7fe66ac11df2e2d3194f1

Contents?: true

Size: 225 Bytes

Versions: 9

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

class Article < ActiveRecord::Base
  belongs_to :user
  has_many :taggings
  has_many :tags, :through => :taggings

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

Version data entries

9 entries across 9 versions & 1 rubygems

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