Hi, I''m running into some serious problems with the scaffold features in Rails 1.2.5 1) Dynamic scaffolding appears to have gone I get "undefined method `scaffold'' for Product:Class" when trying to use it 2) script/generate scaffold is broken running ''script/generate scaffold Product'' or ''script/generate scaffold_resource Product'' just generates empty scaffold, no database introspection seems to happen so CRUD pages are just blank Am I missing something here (i''ve missed a couple of point releases lately)? Will open a bug if this is confirmed as it''s going to screw up anyone trying to follow any of the newbie rails tutorials and the ADRoR book David --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ignore my point 2, miskeyed the captilisation, but still would like to know the current state of scaffold and future plans for 2.0 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
From memory, DHH said that scaffolding would be removed from Rails 2.0, I''m not sure if it''ll still be available as a plugin. In all reality, while scaffolding ''looks'' like a good feature, it''s seldomly used in production (maybe for a quick CRUD mockup?). Cheers, James On Nov 6, 2007 9:58 PM, beta geek <betageek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> ignore my point 2, miskeyed the captilisation, but still would like to > know the current state of scaffold and future plans for 2.0 > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Beta Geek James is right about the default scaffolding before Rails 2.0. That said, you should take a serious look at ActiveScaffold, a plugin that will definitely improve your productivity. CCH http://cch4rails.blogspot.com On Nov 6, 7:32 pm, "James Brooks" <white...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> From memory, DHH said that scaffolding would be removed from Rails 2.0, I''m > not sure if it''ll still be available as a plugin. In all reality, while > scaffolding ''looks'' like a good feature, it''s seldomly used in production > (maybe for a quick CRUD mockup?). > > Cheers, > James > > On Nov 6, 2007 9:58 PM, beta geek <betag...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > ignore my point 2, miskeyed the captilisation, but still would like to > > know the current state of scaffold and future plans for 2.0- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---