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.1 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.0 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.4.0 features/thinking_sphinx/models/robot.rb
thorsson_thinking-sphinx-2.0 features/thinking_sphinx/models/robot.rb
angelf-thinking-sphinx-1.3.18 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.3.20 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.0.rc2 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.3.19 features/thinking_sphinx/models/robot.rb
skalee-thinking-sphinx-1.3.14.2 features/support/models/robot.rb
skalee-thinking-sphinx-1.3.14.1 features/support/models/robot.rb
thorsson_thinking-sphinx-1.3.18 features/thinking_sphinx/models/robot.rb
thinking-sphinx-allen-1.3.18.4 features/thinking_sphinx/models/robot.rb
thinking-sphinx-allen-1.3.18.3 features/thinking_sphinx/models/robot.rb
thinking-sphinx-allen-1.3.18.2 features/thinking_sphinx/models/robot.rb
thinking-sphinx-2.0.0.rc1 features/thinking_sphinx/models/robot.rb
thinking-sphinx-allen-1.3.18.1 features/thinking_sphinx/models/robot.rb
thinking-sphinx-allen-1.3.18 features/thinking_sphinx/models/robot.rb
thinking-sphinx-1.3.18 features/thinking_sphinx/models/robot.rb
josh_cutler-thinking-sphinx-1.3.17 features/thinking_sphinx/models/robot.rb
hawkerb-thinking-sphinx-1.3.18 features/support/models/robot.rb