Wednesday, February 16, 2011

[Rails] [Rails3] "Visitor" is a reserved word?

I cannot do the following on my freshly created and immaculate app:

$ rails g model Visitor

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

I checked the rails wiki, but Visitor doesn't appear as a reserved word.
What am I doing wrong?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate