Ruby on Rails Friday, October 18, 2019

Is the link doing a GET request or a POST request? make sure your route matches GET requests too.

El vie., 18 oct. 2019 a las 18:07, Colin Law (<clanlaw@gmail.com>) escribió:
On Fri, 18 Oct 2019 at 19:33, fugee ohu <fugee279@gmail.com> wrote:


On Friday, October 18, 2019 at 5:57:55 AM UTC-4, Colin Law wrote:
On Fri, 18 Oct 2019 at 09:26, fugee ohu <fuge...@gmail.com> wrote:
On one of my sites (in production) if I navigate to https://<sitename>/set_locale/ko the browser doesn't load the page but if I'm on the site and I click the  link for that url it works fine I was notified about the error by GSC

You haven't told us what you see in the rails log when you do that.  I am sure you will have looked there before asking.
Not that you have actually asked a question, just told us that you have this interesting occurrence.
Also you haven't told us what is shown in the browser console when it happens.

Colin
 

Both browser console and log say 500 internal server error 

Well that is why it doesn't show the page then.

Colin
 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsU1QbNV6i6XQGqbOmAauz-Q9o5wXwx1831%3D1dv4yEcaw%40mail.gmail.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcAcOgsjyEdG%2BKw-nP_p3WUvmBukM9MBSOvrOuNCTZ8Q1A%40mail.gmail.com.

No comments:

Post a Comment