Using Ruby and Active Record