Pat Maddox wrote: > On Nov 18, 2007 6:18 PM, Jason Matthew <jwinn / originalvector.com> wrote: >> >> puts "No new feeds to put in database" >> Posted via http://www.ruby-forum.com/. >> >> > > You can enforce it in the model with > > class Meeting < ActiveRecord::Base > has_many :comments > validates_uniqueness_of :link > end > > Pat Thanks Pat! I can't believe I didnt bother just to validate it. -- Posted via http://www.ruby-forum.com/.