On the rails console try app.get('/') (replace the string with a path) eg app.get('/about')
On Wed, Dec 26, 2018 at 4:58 PM fugee ohu <fugee...@gmail.com> wrote: > > When I try to run `visit <url>` from rails console rails complains so such > route, of course there's no supposed to be since I'm not requesting a page on > my app > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/e1be48ea-1251-487d-a1b6-967e3c044c5c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ6MPzK5Go5E%3DJN7tS0UryQrL0G-HwoO-86H%2BLwKR1tsp7p5Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.