Permalink
Browse files

Changing index definition

  • Loading branch information...
pat committed Sep 29, 2008
1 parent 3a56439 commit 67968a8007bf0053be15d141afb2ea59782bde51
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/models/contact.rb
View
@@ -3,6 +3,8 @@ class Contact < ActiveRecord::Base
define_index do
indexes [first_name, last_name], :as => :name
- indexes street_address, city, state, country, postal_code
+ indexes street_address, city, country, postal_code
+
+ has state_id
end
end

0 comments on commit 67968a8

Please sign in to comment.