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


I think this is a great feature of the scaffold generator. Through the
years, whenever there is a major release, I can "scaffold generate
deleteme" and get a quick overview of some of the newness. No...it's not as
good as checking the source or guides, but it's a very easy way to be
introduced to what the current "way" is.

Is that by itself enough to keep it around? I dunno...but I do like having
them.

Also, if maintaining the scaffold has been a problem, I'm willing to
help...not that I presume to know all that's required to do that right now,
but I'm serious about the offer. (Just read José's email and it may not
actually be a problem.)



On Thu, Mar 8, 2012 at 3:29 PM, James B. Byrne <[email protected]>wrote:

>
> 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.
>
>

-- 
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