Ruby on Rails Thursday, December 27, 2018



On Thursday, December 27, 2018 at 9:43:00 AM UTC-5, Rob Zolkos wrote:
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 <fuge...@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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@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.

I tried that with an absolute url beginning with https://..., rails still complains that there's no such route The syntax you gave me is for within my app I'm trying to request a site out on the web

--
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+unsubscribe@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/a50768c9-9a26-43d8-a1ea-2dda6be9aad6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment