Hi all. I have just installed InstantRails on my XP box, generated the application skeleton, created my databases, edited database.yml, created a model and controller, edited the controller to contain some method stubs, fired up webrick, navigated to the following URL: http://localhost:3000/classified/list my controller being ClassfiedController and my method being list, and instead of seeing an error telling me there is no associated view file (what I expected to see), I get a 404. The application was generated fine, any ideas what this is caused by? Be gentle, I started using rails today! -- http://www.web-buddha.co.uk --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 4/3/07, Dave Goodchild <buddhamagnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all. I have just installed InstantRails on my XP box, generated the > application skeleton, created my databases, edited database.yml, created a > model and controller, edited the controller to contain some method stubs, > fired up webrick, navigated to the following URL: > > http://localhost:3000/classified/list > > my controller being ClassfiedController and my method being list, and > instead of seeing an error telling me there is no associated view file (what > I expected to see), I get a 404. > > The application was generated fine, any ideas what this is caused by? Be > gentle, I started using rails today!Can you successfully run the sample cookbook app that is included with IR? Try that to make sure (forget Apache, just start it with Mongrel and browse directly to the port). That will at least let you know that everything is working ok. After that, compare your app to the cookbook app (which is very simple) and maybe you''ll get a clue. Curt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dave Goodchild wrote:> Hi all. I have just installed InstantRails on my XP box, generated the > application skeleton, created my databases, edited database.yml, created > a > model and controller, edited the controller to contain some method > stubs, > fired up webrick, navigated to the following URL: > > http://localhost:3000/classified/list > > my controller being ClassfiedController and my method being list, and > instead of seeing an error telling me there is no associated view file > (what > I expected to see), I get a 404. > > The application was generated fine, any ideas what this is caused by? Be > gentle, I started using rails today! > > -- > http://www.web-buddha.co.ukI would also check the development log if I were you. Things may not be what you expect them to be. -- 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 -~----------~----~----~----~------~----~------~--~---