Sha256: d7481afa12a658eb70ec2a5e76a03063b74641301aa7866d636fb63491dd078d

Contents?: true

Size: 183 Bytes

Versions: 97

Compression:

Stored size: 183 Bytes

Contents

class Box < ActiveRecord::Base
  define_index do
    indexes width, :as => :width_field
    
    has width, length, depth
    has [width, length, depth], :as => :dimensions
  end
end

Version data entries

97 entries across 97 versions & 16 rubygems

Version Path
hawkerb-thinking-sphinx-1.3.18 features/support/models/box.rb
thinking-sphinx-1.3.17 features/thinking_sphinx/models/box.rb
warp-thinking-sphinx-1.3.16 features/support/models/box.rb
thinking-sphinx-1.3.16 features/support/models/box.rb
hawkerb-thinking-sphinx-1.3.17 features/support/models/box.rb
thinking-sphinx-1.3.15 features/support/models/box.rb
hawkerb-thinking-sphinx-1.3.16 features/support/models/box.rb
hawkerb-thinking-sphinx-1.3.15 features/support/models/box.rb
hawkerb-thinking-sphinx-1.3.14 features/support/models/box.rb
zipme-thinking-sphinx-1.3.14 features/support/models/box.rb
thinking-sphinx-1.3.14 features/support/models/box.rb
warp-thinking-sphinx-1.3.13 features/support/models/box.rb
thinking-sphinx-1.3.13 features/support/models/box.rb
thinking-sphinx-1.3.12 features/support/models/box.rb
thinking-sphinx-1.3.11 features/support/models/box.rb
warp-thinking-sphinx-1.3.11 features/support/models/box.rb
warp-thinking-sphinx-1.3.10 features/support/models/box.rb
thinking-sphinx-1.3.10 features/support/models/box.rb
thinking-sphinx-1.3.9 features/support/models/box.rb
ts-xml-0.0.1 features/support/models/box.rb