views:

7

answers:

1

when a user created a new account on my site, id like to load sample data into his account. I would have done this easily with fixtures but the problem is, the sample data needs to know the new account id, so i need to pass this to the fixtures, but i don't know if its possible.

That's my idea, but I am open to other best way to load sample data into db for new account users.

Thanks in advance.

A: 

oh okay, i found the solution to my problem, xianese of http://xianese.blogspot.com/2008/05/use-yaml-to-load-sample-data-into.html have a solution.

David