Power One wrote:

> My question is, how do you go about scaffold in rails 2.1.0?

Forget scaffolds. They are just the bait - the teaser.

Learn Rails by learning to...

  - create a model with script/generate
  - create its migration into a database
  - write unit tests which force that model to have methods
  - integrate your code into git or svn
  - paint a page in HTML
  - use tidy to clean it up
  - create a controller & its view
  - convert it to html.erb, in the view
  - run your app with webrick and look at it
  - put <%= tags %> into it
  - write tests showing the tags do the right thing

That's the core cycle. Anything else - billions of topics, including threading, 
paging, Ajax, etc, you must Google for, after you understand and work that core 
cycle. And all the books cover the core cycle (right??!).

-- 
   Phlip


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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