has_many :comments, :class_name => "NoteComment",
:foreign_key => :note_id,
:order => :created_at,
- :conditions => "visible = true AND body IS NOT NULL"
+ :conditions => { :visible => true }
validates_presence_of :id, :on => :update
validates_uniqueness_of :id