Hugo Hache
Hugo Hache
While debugging an intermittent unlog issue on a mobile app consuming a Rails app powered by devise_token_oauth, we found occurrences of 304 returned to the client whereas the token was...
Following my [PR introducing a cop for numbered parameters](https://github.com/rubocop/rubocop/pull/10100), @koic [suggested](https://github.com/rubocop/rubocop/pull/10100#issuecomment-923011088) that choosing the default style required a discussion in the style guide. As a basis, here is what we...
When receiving a 304, the library tries to request the URL of the Location header https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L200-L202 https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L243-L247 As the Location header is not set on a [HTTP 304](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304), `normalize_location` crashes...
Existing injection mechanism allows today to inject operations. I'd like to know what you think about injecting instances. I know dry-transaction brings a lot of greatness from the functional programming...
Started by Gilles Thia. The following things are still missing: * TODO
### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" gem "rails" # If you want to test against edge Rails replace the previous line with...
### Motivation / Background Fixes #53380 ### Detail When reflection scope has a where clause, source reflection is included. Hence source_preloaders already have all records already loaded, and thus keeps...
### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" gem "rails" # If you want to test against edge Rails replace the previous line with...
### What does this PR do? It displays the preview of an anchor when hovering it. ### What issues does this PR fix or reference? This is a very rough...