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.17 features/thinking_sphinx/models/robot.rb
warp-thinking-sphinx-1.3.16 features/support/models/robot.rb
thinking-sphinx-1.3.16 features/support/models/robot.rb
hawkerb-thinking-sphinx-1.3.17 features/support/models/robot.rb
thinking-sphinx-1.3.15 features/support/models/robot.rb
hawkerb-thinking-sphinx-1.3.16 features/support/models/robot.rb
hawkerb-thinking-sphinx-1.3.15 features/support/models/robot.rb
hawkerb-thinking-sphinx-1.3.14 features/support/models/robot.rb
zipme-thinking-sphinx-1.3.14 features/support/models/robot.rb
thinking-sphinx-1.3.14 features/support/models/robot.rb
warp-thinking-sphinx-1.3.13 features/support/models/robot.rb
thinking-sphinx-1.3.13 features/support/models/robot.rb
thinking-sphinx-1.3.12 features/support/models/robot.rb
thinking-sphinx-1.3.11 features/support/models/robot.rb
warp-thinking-sphinx-1.3.11 features/support/models/robot.rb
warp-thinking-sphinx-1.3.10 features/support/models/robot.rb
thinking-sphinx-1.3.10 features/support/models/robot.rb
thinking-sphinx-1.3.9 features/support/models/robot.rb
ts-xml-0.0.1 features/support/models/robot.rb
thinking-sphinx-1.3.8 features/support/models/robot.rb