On Thu, March 8, 2012 14:30, Elomar Souza wrote:
> I don't really get it. I've been using the scaffold for a
> while, never knew it wasn't the sanctioned way of doing
> things.
.  .  .
>
> Can anyone please elaborate on the disadvantages of using
> the scaffold? :)

There is really only one disadvantage to the scaffold
generators:  They have to be maintained.

Every time Rails goes through one of its periodic
syntax/structure paroxysms the generators are immediately
placed out of date.  A scaffold generator rewrite requires
some detailed knowledge of the new ways of the Rails world
otherwise the code they produce is worse than useless as
exemplars.

Unfortunately this knowledge is often limited in
distribution around the time the changes are introduced. 
Further, those that do possess the requisite skills not
infrequently have no wish to spend their limited time on
something that they do not use themselves and perhaps
believe is 'morally' suspect from a professional point of
view.

I rather suspect that arguments about the benefits of
building RoR apps 'from the ground up' and potential
confusion for Rails newcomers that might arise from using
scaffolding is quite beside the point.


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to