class Post has_many :comments, :dependent => :destroy