Script/Generate relationships Model

What did you have in mind? The Scaffolding Extensions plugin [1] by
default displays all associated objects on the edit page of the
object, allowing you to easily add habtm associations and additional
objects to has_many associations. You can also merge records by
updating all associations of one record to point to another and then
deleting the record.

Jeremy

[1] http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin