0
class Client < ActiveRecord::Base
attr_accessible :name
has_many :comments, :dependent => :destroy
end
class Comment < ActiveRecord::Base
attr_accessible :title, :date
belongs_to :client
end
如何找到所有客戶評論日期'2012-01-30'?導軌,通過嵌套項目選擇