am trying to follow the outlined steps in Agile web development with rails book(1st edition) to develop a shopping cart named depot. after this command, ruby script/generate scaffold Product Admin which is supposed to write a basic maintenance application,from the explanations of the book when i access this address http://localhost:3000/admin the list of products needs to be seen but that is not what i get, and it looks like the above command did not even create admin controller in my machine. help please. am using rails 2.1 and ruby 1.8.6 -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Hi Adolf, Adolf Charles wrote:> after this command, ruby script/generate scaffold Product Admin > which is supposed to write a basic maintenance application,fromJust a guess here, but I''ll bet you''re running Rails 2.x. Agile Web Development with Rails (AWDWR) 1st edition was written for Rails 1.2.x. If you''re determined to start with Rails 2.x, the third edition of AWDWR is coming out soon and the PDF version is already available. See http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third -edition Alternatively, you can drop back to Rails 1.2.x and get an understanding of the basics of Rails, then move forward to Rails 2.x and learn about REST and the Rails routing engine. If you''re on Windows, I recommend InstantRails (version 1.7) as an easy starting point. It''s at http://rubyforge.org/frs/?group_id=904 HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Bill Walton wrote:> Hi Adolf, > > Adolf Charles wrote: > >> after this command, ruby script/generate scaffold Product Admin >> which is supposed to write a basic maintenance application,from > > Just a guess here, but I''ll bet you''re running Rails 2.x. > > Agile Web Development with Rails (AWDWR) 1st edition was written for > Rails > 1.2.x. If you''re determined to start with Rails 2.x, the third edition > of > AWDWR is coming out soon and the PDF version is already available. See > http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third > -edition > > Alternatively, you can drop back to Rails 1.2.x and get an understanding > of > the basics of Rails, then move forward to Rails 2.x and learn about REST > and > the Rails routing engine. If you''re on Windows, I recommend > InstantRails > (version 1.7) as an easy starting point. It''s at > http://rubyforge.org/frs/?group_id=904 > > HTH, > BillHi Bill thanks for the clarification, yes indeed am running rails 2.1. now exactly what to do thanks very much. -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---