Scaffolding is still built-in, but it won't look for existing tables when it 
builds the views.  You've got to list out all your column_name:column_type 
pairs on the call to script/generate.

It's a bummer, but there it is...

________________________________
From: rubyonrails-talk@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Chris Ripley
Sent: Sunday, November 09, 2008 2:28 PM
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Re: scaffold not working like i hoped......

Yes.. i've run rake db:migrate.

On Sun, Nov 9, 2008 at 11:48 AM, Rick <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:

Did you run rake db:migrate?

Rick

On Nov 8, 9:18 am, SpudNerd <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
> Hi:
>
> i've tried this on three macs (tiger, panther, etc).. and my ROR is up
> to date on each.
>
> My models and controllers aren't displaying all my mysql db fields.
>
> When I run script/generate scaffold Planner ... it builds the
> controller, model, and all the rest.
>
> When I go to test the app and new controller, now called planners no
> content is listed... and all I ever get is the submit button, and
> 'SHOW', 'EDIT' links.  I get none of the form to work with, just the
> form button.
>
> I noticed that the Views for the controller planners has all
> *.html.erb  extensions.... .i changed them to .rhtml extensions, but
> nothing changes.
>
> Nothing is visible.... tested in FF, safari....
>
> Any suggestions?
>
> Spud





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to