Forum: Ruby on Rails Maintaining clean tables

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
tmatsumoto (Guest)
on 2005-11-13 17:11
(Received via mailing list)

I'm working on the Agile book and since the beginning of the book I've
been wonder how either Rails maintains clean tables or if I have to
build a method myself.

For those following the Agile book this is about Iteration 9.1, the
checkout page and customer details table. If you checkout as the same
customer twice, all the data is entered as a new entry. What I want is
to either insert new data or use existing data, especially if I am
mixing those id's in a join table later.

Is anybody else doing the same thing who could give me some advice?

Thank a lot,

This topic is locked and can not be replied to.