Tuesday, September 7, 2010

[Rails] Re: rails scaffolding issue

If i understand it right, in new scaffold need to be specified each
column from the existing db?

In my case:
ruby script/generate scaffold Post title:string body:text
author:string status:string created_at:datetime updated_at:datetime

And it will migrate the outside rails made db and will be working as
is needed to be?
Tested it and its working this way. Asking because dont want to learn
it in wrong way.
Used some outdated information.... :(

Thanks

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate