[rspec-users] Rspec model generation problem
lists at ruby-forum.com
Fri May 7 09:16:31 EDT 2010
Amit Kulkarni wrote:
> 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.
Versions which i am using
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
Posted via http://www.ruby-forum.com/.
More information about the rspec-users