خرید بک لینک

Vote count: 0

I have really stupid problem with rake db:seed.

I created couple of users and seed a database with rake db:seed. When I visit my app, all users are doubled! Obviously I run rake db:reset before every attempt to seed. I restarted served. What's happening?

asked 4 mins ago

1 Answer

Vote count: 0

By default, rake db:reset will also run db:seed, so there's no need to run both commands.

This article describes the full list of db: rake commands, which you might find helpful for future reference.

answered 2 mins ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 4 اسفند 1394 ساعت: 22:19

صفحه بندی