Sha256: c71ff780302c1e97109ef666110e0798f1c2c9dc61c29ed0ed40e91775c6d375

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

class User < ActiveRecord::Base
  has_one   :seller
  has_one   :address, :class_name => "Geo::Address"

  is_indexed :fields => ['login', 'email', 'deleted'], 
    :include => [{:class_name => 'Seller', :field => 'company_name', :as => 'company'}],
    :conditions => 'deleted = 0'  
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ultrasphinx-1.5.3 test/integration/app/app/models/person/user.rb