Ruby on Rails Monday, March 5, 2018

so how can i pass this along? why is it not assuming html?


On Mon, Mar 5, 2018 at 12:53 PM, Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
On Mon, Mar 5, 2018 at 9:33 AM, tom <tomabroad@gmail.com> wrote:
> getting 406 due to rails giving me ActionController::UnknownFormat
> and i dont know why.

Maybe because GET "/whatever/in/St.%20Peters" provides no
information about the requested response format?

> same routes(pattern) in a different controller work just fine. only
> difference is that the other one only does render, not repsond_to

I'd think that would be a good clue...

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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/CACmC4yDoYipL%3DSbWVspDwgaXTouEdYeUZhsk1hXm6wYnO%3DGC1Q%40mail.gmail.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+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/CADQqhMfGzhwm7bZUzzE5xeu%3Dg5-5MkuGaD96sLiHtHq70SYy7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment