Forum: Ruby on Rails RE: Re: Fixtures and Relationships

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hogan, Brian P. (Guest)
on 2006-02-23 21:11
(Received via mailing list)
Usually what I do is get the migration done, get the models built, and
then open up Console and enter some records that way. (I don't include
validations in the models at this point but I do make the model
associations). That way I can create users, their addresses, their
tasks, etc... and know that I have data that will relate. Then I just
use the below plugin to dump it out.

not quite like what you're looking for but I hope it helps.
Dylan S. (Guest)
on 2006-02-23 21:14
(Received via mailing list)
Ahh... that's a great way to do it !  Thanks Brian :)
This topic is locked and can not be replied to.