Bug? Every name reserved?

Hi,
I have a problem using the scaffolding generator. No matter what name
I try, Rails always complains that the name is reserverd. E.g.:

[email protected]:/var/rails/fm5$ script/generate scaffold P4ge
exists app/controllers/
exists app/helpers/
create app/views/p4ges
exists test/functional/
dependency model
The name ‘P4ge’ is reserved by Ruby on Rails.
Please choose an alternative and run this generator again.

No happy.

This happened to me once when I had an observer set in environment.rb.
Try clearing all observers and trying again.

Vish

I definitely have no observer, even don’t really know what that is :wink:

On 2/26/07, Vishnu G. [email protected] wrote:

I try, Rails always complains that the name is reserverd. E.g.:
No happy.


wer viel lest ist viel gebildet.

OK, the problem was that I used the constant Page/P4ge/whatever in my
routes.rb. Had to comment it out, otherwise Rails thought it is a
reserved word.

On 2/26/07, Ernst Beiglböck [email protected] wrote:

The name ‘P4ge’ is reserved by Ruby on Rails.


wer viel lest ist viel gebildet.


wer viel lest ist viel gebildet.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs