Skip to content

Instantly share code, notes, and snippets.

@dpickett
Created November 21, 2008 20:36
Show Gist options
  • Save dpickett/27619 to your computer and use it in GitHub Desktop.
Save dpickett/27619 to your computer and use it in GitHub Desktop.
class Condition < ActiveRecord::Base
include Dxj::SearchSubject
has_many :diagnoses
validates_uniqueness_of :name
validates_presence_of :name
end
module UltraSphinxSuckage
if false
is_indexed
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment