Re: scaffolding broken in Rails 2.1.0

Alex Birkett
Tue, 17 Jun 2008 16:29:20 -0000

> The new rails isn''t as different as it seems - it''s just
that all the
> differences seem to be magnified by the scaffolding.  The only real
> difference is the greater emphasis on restful routing, and some new
> conventions for controller actions.  But like i say if you''re
using
> scaffolding it''s very hard to follow.
>
I''ve downloaded the source code for the 3rd ed. of the book and diffed
it against the 2nd ed. It seems that the authors have taken the same
approach as me: they''ve just called the controller
''products'' instead
of ''admin''.  (presumably because the ror 2.x generate scaffold
script
forces the controller name to be the same as the model) So far so
good ...