Hi there, I have rails 1.2.3 installed but do not have the scaffold_resource generator, should this be installed by default??? this is all I have: Installed Generators Builtin: controller, integration_test, mailer, migration, model, observer, plugin, resource, scaffold, session_migration, web_service cheers dion --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I did a gem update and my current rails version is rails-1.2.3.6747 this does not have scaffold_resource but rails 1.2.3 does any clues??? On 5/19/07, Dion Hewson <dionhewson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi there, > > I have rails 1.2.3 installed but do not have the scaffold_resource > generator, should this be installed by default??? > > this is all I have: > > Installed Generators > Builtin: controller, integration_test, mailer, migration, model, > observer, plugin, resource, scaffold, session_migration, web_service > > > cheers > > dion >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Run ''script/generate scaffold'' and take a look at the help text. The old scaffold generator is going away and the default behavior of scaffold will be to generate the resource stuff. Didn''t think that was going to happen until rails 2.0 but maybe the change has already been made. b Dion Hewson wrote:> I did a gem update > > and my current rails version is rails-1.2.3.6747 > > this does not have scaffold_resource but rails 1.2.3 does > > any clues??? > > On 5/19/07, * Dion Hewson* <dionhewson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:dionhewson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > Hi there, > > I have rails 1.2.3 installed but do not have the scaffold_resource > generator, should this be installed by default??? > > this is all I have: > > Installed Generators > Builtin: controller, integration_test, mailer, migration, model, > observer, plugin, resource, scaffold, session_migration, web_service > > > cheers > > dion > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dion, > and my current rails version is rails-1.2.3.6747 > this does not have scaffold_resource but rails 1.2.3 does > any clues??? See: http://dev.rubyonrails.org/changeset/6746 http://dev.rubyonrails.org/changeset/6747 Timestamp: 05/16/07 01:24:25 (4 days ago) Message: Scaffold resource is now scaffold If you want to track the Rails Edge changes as they are commited, subscribe to the svn repository feed: http://subtlety.errtheblog.com/O_o/c.xml -- Alain Ravet -------- http://blog.ravet.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---