Sha256: 205191343056a320daeb6e61dee01d4b7989b6f220b5051c343fbb60079dc3ba

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

class Geo::State < ActiveRecord::Base
  has_many :addresses, :class_name => "Geo::Address"
  
  is_indexed :concatenate => [{:class_name => 'Geo::Address', :field => 'name', :as => 'address_name'}]
    #:fields => [{:field => 'abbreviation', :as => 'company_name'}],
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ultrasphinx-1.11 test/integration/app/app/models/geo/state.rb
ultrasphinx-1.6.7 test/integration/app/app/models/geo/state.rb
ultrasphinx-1.9 test/integration/app/app/models/geo/state.rb
ultrasphinx-1.6 test/integration/app/app/models/geo/state.rb
ultrasphinx-1.8 test/integration/app/app/models/geo/state.rb
ultrasphinx-1.7 test/integration/app/app/models/geo/state.rb