On 12/9/07, [email protected] [email protected] wrote:
If I’m not mistaken, the issue you’re having is due to the fact that
scaffolding has been deprecated as of Rails 2.0. If that’s the case,
it might be a bit hard for a Rails newbie to follow along with AWDwR.
I’m pretty n00b-ish myself, so am I totally wrong about this? If I’m
not, does anyone out there have any suggestions for alternative
tutorials that don’t presuppose scaffolding?
I’m not sure deprecated is the right term, it (dynamic scaffolding as
opposed to generated scaffolds) has been moved out of the core and
into a plugin in Rails 2.0. Another thing which has been moved out of
core are db adapters for commercial databases like Oracle, and SQL
server, these are now separate gems.
For the most part Rails 2.0 is pretty compatible with 1.2.x, however,
it’s probably different enough to trip up n00bs working through things
like AWDWR 2nd ed. I don’t know that there’s a really good in-depth
beginners tutorial on Rails 2.0 yet. I’d probably advise folks
starting out with Rails right now to install rails 1.2.x and use that
while following AWDWR.
If someone wants to persist in using AWDWR with Rails 2.0, one hint is
to check the plugin repository at
http://svn.rubyonrails.org/rails/plugins/ if you run into a missing
function like this.
The new book “The Rails Way” looks like a very good resource on Rails
2.0 for those with some rails experience under their belt, but it’s
really not structured as a beginner’s book.
My blog on Ruby