Hey,

I started recently using seed.rb which I find really cool but there's
something I haven't figured out yet. Seeding is apparently for seeding
data but now I'm kinda playing around with it and it keeps adding data
so I have lots of duplicate data. Is there any command that truncates
every table on the database (like iterating over every model and
delete_all)?
Now I have to db:migrate:reset first in order to have clean tables.

Any suggestions?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to