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-2.0.9 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.9 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.8 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.8 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.7 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.6 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.7 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.5 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.6 features/thinking_sphinx/models/robot.rb
sayso-thinking-sphinx-2.0.3.002 features/thinking_sphinx/models/robot.rb
sayso-thinking-sphinx-2.0.3.001 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.4 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.5 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.3 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.4 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.3 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.2 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.2 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.1 features/thinking_sphinx/models/robot.rb
joshcutler-thinking-sphinx-1.3.18 features/thinking_sphinx/models/robot.rb