rails/actionpack/test
Kasper Timm Hansen 86754a8f7b Use accept header instead of mangling request path.
Instead of appending a format to the request, it's much better
to just pass a more appropriate accept header. Rails will figure
out the format from that instead.

This allows devs to use `:as` on routes that don't have a format.

Introduce an `IdentityEncoder` to avoid `if request_encoder`,
essentially a better version of the purpose of the `WWWFormEncoder`.
One that makes conceptual sense on GET requests too.

Fixes #27144.
2016-11-23 22:02:19 +01:00
..
abstract Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
assertions Improve assert_response helper 2016-09-14 11:30:09 -04:00
controller Use accept header instead of mangling request path. 2016-11-23 22:02:19 +01:00
dispatch Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
fixtures Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
journey Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
lib/controller Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
routing applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
tmp
abstract_unit.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00