Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104696

Summary: rails 0.13.1 generate incorrect code in template
Product: Gentoo Linux Reporter: Jakub Jozwicki <jakub007>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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