Created
August 26, 2009 03:44
-
-
Save rumblex/175283 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define_index do | |
indexes :name, :sortable => true | |
indexes entry(:subdomain), :as => :entry_subdomain, :sortable => true | |
indexes entry(:description), :as => :entry_description, :sortable => true | |
indexes entry(:name), :as => :entry_name, :sortable => true | |
indexes entry(:resources_used), :as => :entry_resources, :sortable => true | |
has :state | |
where "state IN ('approved', 'qualified', 'verified')" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment