has_many :comments, :class_name => "NoteComment",
:foreign_key => :note_id,
:order => :created_at,
has_many :comments, :class_name => "NoteComment",
:foreign_key => :note_id,
:order => :created_at,
validates_presence_of :id, :on => :update
validates_uniqueness_of :id
validates_presence_of :id, :on => :update
validates_uniqueness_of :id