Hello,
I did a fresh install of ruby182 and gem rails --include-dependencies
Now when I do:
rails receipts
cd receipts
ruby script\generate scaffold receipt receipt
rails does not create the views or controller.
What can I do?
Thanks
Frank
Hello,
I did a fresh install of ruby182 and gem rails --include-dependencies
Now when I do:
rails receipts
cd receipts
ruby script\generate scaffold receipt receipt
rails does not create the views or controller.
What can I do?
Thanks
Frank
On 1/1/06, Frank R. [email protected] wrote:
Try ruby script\generate scaffold Receipt
The scaffold generator wants either CamelCase names (e.g. Bob or
SomeThing) or underscored ‘Ruby-style’ names.
The above command should create a receipt.rb model, and a
receipts_controller.rb controller, along with the views, tests, etc.
I tried your suggestion, but it still does not create a controller or
views.
Frank
----- Original Message -----
From: “Wilson B.” [email protected]
To: [email protected]
Sent: Sunday, January 01, 2006 4:15 PM
Subject: Re: [Rails] scaffold not working on Windows XP
On 1/1/06, Frank R. [email protected] wrote:
Try ruby script\generate scaffold Receipt
The scaffold generator wants either CamelCase names (e.g. Bob or
SomeThing) or underscored ‘Ruby-style’ names.
The above command should create a receipt.rb model, and a
receipts_controller.rb controller, along with the views, tests, etc.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
I am using postgresql.
Do I need to install anything?
Thanks
Frank
----- Original Message -----
From: “Borja Martín” [email protected]
To: [email protected]
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP
does it say something about creating the table first?
did you install the mysql gem?
Nevermind,
I found gem install postgres-pr
I feel foolish.
Thanks for your help.
Frank
----- Original Message -----
From: “Borja Martín” [email protected]
To: [email protected]
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs