Scaffold with no data?

Hello, please help me with one little error that I have here. I have
created database structure, than generated scaffold for it (script/
generate scaffold Artist). But when I try to use it, all i have is
this (db contains t records):

Listing artists
Show Edit Destroy
Show Edit Destroy
Show Edit Destroy

New artist

On Sun, Jul 11, 2010 at 4:31 AM, DrSney [email protected] wrote:

Hello, please help me with one little error that I have here. I have
created database structure, than generated scaffold for it (script/
generate scaffold Artist).

What is wrong ? Why doesnt it show data ?

What would you expect it to show if you’re not created any attributes
for the Artist model?


Hassan S. ------------------------ [email protected]
twitter: @hassan

Did you rake db:migrate?

yes, of course.

Could you show us your migration file here?

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