Process to create development setup data
-
theirishpenguin
I have added some seed data in a migration. I have put it up at http://github.com/theirishpengui...
I need to work out how to get this onto the master tree.
-
Gavin Joyce
Thanks for doing this.
I agree with your comment, a rake task would be a cleaner solution. Perhaps we should aim for this?
-
theirishpenguin
Ok. I'll give the rake task a go.
-
theirishpenguin
Rake task done as rake db:seed (also added a db:clean task). Should probably change this functionality to use a Factory, just like the specs?
-
Gavin Joyce
I think that we should be OK using the Models directly for this. The factory used in the specs will change soon anyway, it has issues with complex model relationships.
-
Gavin Joyce
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.