I am upgrading a small app from Rails 3.0.9 to 3.2.6 and I getting an error running rake db:reset. I have my seed data in .csv files that worked under 3.0.9. When I run db:reset, it fails looking for a .yml file;
No such file or directory - db/seed/user.yml
I have a user.csv but no .yml files in the seed directory. Anyone know why it would be looking for a .yml file? Is .yml the default now?
以防万一它会帮助别人,Rails 3.2中不再支持.csv,而仅支持.yml。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.