Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104696 - rails 0.13.1 generate incorrect code in template
Summary: rails 0.13.1 generate incorrect code in template
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 04:15 UTC by Jakub Jozwicki
Modified: 2005-09-17 09:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Jozwicki 2005-09-03 04:15:48 UTC
rails Demo 

# create table comments(id integer autoincrement not null primary key, nick
varchar not null default 'anonymous', text varchar not null default , created_on
datetime, updated_on datetime); SQLITE

ruby Demo/script/generate model Demo
ruby Demo/script/generate controller Demo
ruby Demo/script/generate scaffold comments
ruby Demo/script/server links
http://127.0.0.1:3000/comments

There is error: Uninitalized constant Comment.

When I did: "ruby Demo/script/generate scaffold comment" (notice that there is
no 's') page fired up with proper content, but I am unable to add or modify
anything.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-09-17 09:16:17 UTC
You should probably file this at http://dev.rubyonrails.com/newticket