I am going through the Agile Web Development with Rails book and following the creation of depot app. On page 77 in the second edition i run the ruby script/generate scaffold product admin command. After the auto generated files are created. When i test the interface i the Edit, New Product and Destroy link does not work. When i click on the New Product link i do not see a form where i can enter the information for the new products. When i click on the Edit link i do not see the form in the edit mode. When i click on the Delete the javascript pop up ask me to say ok or cancel, when i clik the ok nothing happens. The product does not get removed. I am unable to see any error message either. Any ideas as to what i am doing wrong? -- 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, you''ll need to take a look at the development.log located in the log''s directory. Please provide post the relevant details here. -Conrad On 3/3/07, Hari Venkata <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I am going through the Agile Web Development with Rails book and > following the creation of depot app. > > On page 77 in the second edition i run the ruby script/generate scaffold > product admin command. > > After the auto generated files are created. When i test the interface i > the Edit, New Product and Destroy link does not work. > > When i click on the New Product link i do not see a form where i can > enter the information for the new products. > > When i click on the Edit link i do not see the form in the edit mode. > > When i click on the Delete the javascript pop up ask me to say ok or > cancel, when i clik the ok nothing happens. The product does not get > removed. > > I am unable to see any error message either. > > Any ideas as to what i am doing wrong? > > -- > 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, when you attempt to these actions within the browser, did run the following command within the root of your rails app: script/server webrick or script/server -Conrad On 3/4/07, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, you''ll need to take a look at the development.log located in the > log''s directory. Please provide post the relevant details here. > > -Conrad > > On 3/3/07, Hari Venkata <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > I am going through the Agile Web Development with Rails book and > > following the creation of depot app. > > > > On page 77 in the second edition i run the ruby script/generate scaffold > > product admin command. > > > > After the auto generated files are created. When i test the interface i > > the Edit, New Product and Destroy link does not work. > > > > When i click on the New Product link i do not see a form where i can > > enter the information for the new products. > > > > When i click on the Edit link i do not see the form in the edit mode. > > > > When i click on the Delete the javascript pop up ask me to say ok or > > cancel, when i clik the ok nothing happens. The product does not get > > removed. > > > > I am unable to see any error message either. > > > > Any ideas as to what i am doing wrong? > > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---
Actually rebooting the server fixed the problem. Cheers Hari Hari Venkata wrote:> I am going through the Agile Web Development with Rails book and > following the creation of depot app. > > On page 77 in the second edition i run the ruby script/generate scaffold > product admin command. > > After the auto generated files are created. When i test the interface i > the Edit, New Product and Destroy link does not work. > > When i click on the New Product link i do not see a form where i can > enter the information for the new products. > > When i click on the Edit link i do not see the form in the edit mode. > > When i click on the Delete the javascript pop up ask me to say ok or > cancel, when i clik the ok nothing happens. The product does not get > removed. > > I am unable to see any error message either. > > Any ideas as to what i am doing wrong?-- 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 -~----------~----~----~----~------~----~------~--~---