Sha256: b9a1271dc6394205d2d925e9cf8dd4be2c43f77d409f9cc3e0118483c5219c42

Contents?: true

Size: 195 Bytes

Versions: 93

Compression:

Stored size: 195 Bytes

Contents

class Robot < ActiveRecord::Base
  set_primary_key :internal_id
  set_sphinx_primary_key :alternate_primary_key
  
  define_index do
    indexes :name
  end
  
  def id
    internal_id
  end
end

Version data entries

93 entries across 93 versions & 15 rubygems

Version Path
thinking-sphinx-1.3.7 features/support/models/robot.rb
thinking-sphinx-1.3.6 features/support/models/robot.rb
thinking-sphinx-1.3.4 features/support/models/robot.rb
thinking-sphinx-1.3.3 features/support/models/robot.rb
thinking-sphinx-099-1.3.2 features/support/models/robot.rb
thinking-sphinx-1.3.2 features/support/models/robot.rb
moneypools-thinking-sphinx-1.3.1 features/support/models/robot.rb
thinking-sphinx-1.3.1 features/support/models/robot.rb
thinking-sphinx-099-1.3.1 features/support/models/robot.rb
thinking-sphinx-099-1.3.0 features/support/models/robot.rb
thinking-sphinx-1.3.0 features/support/models/robot.rb
thinking-sphinx-099-1.2.13 features/support/models/robot.rb
thinking-sphinx-1.2.13 features/support/models/robot.rb