[rspec-users] Rspec model generation problem

Amit Kulkarni lists at ruby-forum.com
Fri May 7 09:08:25 EDT 2010

I am currently working on Ubuntu machine in which there is already a
spec file generated which has some models
So i just updated by entering the command "ruby script/generate rspec"
Now when i try to generate rspec model then it shows error as

"The name 'User' is either already used in your application or reserved
by Ruby on Rails.Please choose an alternative and run this generator

I am getting this for almost for every rspec model
Please suggest.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list