test/integration/app/app/models/person/user.rb in ultrasphinx-1.6 vs test/integration/app/app/models/person/user.rb in ultrasphinx-1.6.7
- old
+ new
@@ -3,8 +3,8 @@
has_one :address, :class_name => "Geo::Address"
is_indexed :fields => ['login', 'email', 'deleted'],
:include => [{:class_name => 'Seller', :field => 'company_name', :as => 'company'},
{:class_name => 'Seller', :field => 'sellers_two.company_name', :as => 'company_two', 'association_sql' => 'LEFT OUTER JOIN sellers AS sellers_two ON users.id = sellers_two.user_id', 'function_sql' => "REPLACE(?, '6', ' replacement ')"}],
- :conditions => 'deleted = 0'
+ :conditions => "deleted = '0'"
end