The released 4.2.0 contains a bug that does not correctly verify the response status code to determine whether to include the body content and remove content headers in case of head requests like 204 no content. It is not a big deal and it's unlikely to affect many people, but running responders tests against 4.2.0 fails some tests returning a body with a space " ", where we expect an empty one "", and the stable branch already contains the necessary fixes: rails/rails@bc1760f rails/rails@2910956 This does not affect the use of responders with 4.2.0.
…cation [ci skip]
…ey will work out of the box. This way users using `responders` will get a functional scaffold when using the Rails generator, without having to define the format by themselves. Based on plataformatec/devise#3278.