Creating scaffolding with references does not work
Bug #660290 reported by
Matt Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rootin Tootin |
Fix Released
|
Critical
|
Unassigned |
Bug Description
If I try to create a simple app with one model referencing another, it fails. The generator does not understand "reference", and the generated CRUD template is wrong.
Try this to get the errors:
rootintootin name:blog port:3000 db_user:root db_password:letmein
cd blog
./gen recreate development database
./gen create noun singular:post plural:posts
./gen create noun singular:comment plural:comments
./gen create scaffold post title:unique_string content:text \
validates presence_
./gen create scaffold comment content:text post:reference \
validates presence_of:content
./gen migrate development
./run development
Changed in rester: | |
status: | Confirmed → Fix Committed |
Changed in rester: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.