Eric Proulx
Eric Proulx
Hi, When trying to switch to `prepared_statements`, our float columns had different values in ruby (2.6 series). For instance, 1.1 is now 1.100000023841858 I know that 1.100000023841858 is a [limited...
-------- ## Expected behavior https://apidock.com/rails/ActiveRecord/Base/table_name/class Module's functions `self.table_name_prefix=` and `self.table_name_suffix=` should be considered when computing a model's table_name when not overridden. ## Actual behavior The cop doesn't report an issue...
There's a `todo` for `deprecation` (it's been a [while](https://github.com/ruby-grape/grape/blob/master/UPGRADING.md#replace-error_response-with-error-in-rescue_from-blocks)) but there's no warn DEPRECATION. Since it's use internally, adding a warning will pop every single time. I think we should...
Hello, Simple question, since Ruby 3.1 is out, is it worth keeping 2.5 as the minimal required_ruby_version ? I could add a PR adding 3.1 and dropping 2.5. Thanks
Hi, Is there a way to sanitize Sidekiq args ? We're already sanitizing within the `before_send` but I can't find how to sanitize Sidekiq context through an `event` Thanks.
`rack-accept` hasn't been updated for many years and since most of Grape's needs are already in `rack`, I think we can remove the dependency.
While running specs with `--warnings` I found an interesting API endpoint under `spec/grape/validations/validators/values_spec.rb` with a successful test but maybe not the way we wanted. The [api](https://github.com/ruby-grape/grape/blob/91eec1a257e67f3246aad2b3f6c557f3d1b3a003/spec/grape/validations/validators/values_spec.rb#L255-L258) is defined like this...
#2236 has added a `method_missing` to override the NoMethodError message since it was huge inside any endpoints. I [found](https://ivoanjo.me/blog/2021/11/01/nomethoderror-ruby-cost/) that it's been [fixed](https://bugs.ruby-lang.org/issues/18285) in ruby 3.3 and the [solution](https://github.com/ruby/ruby/pull/6950) was...
According to Rack's [upgrade guide](https://github.com/rack/rack/blob/v3.0.8/UPGRADE-GUIDE.md#response-headers-must-be-lower-case), we should use `Rack::Headers` instead of a single Hash to manage response headers. Furthermore, we always used a`{}` to manage headers but we should had...
Following the [documentation](https://github.com/ruby-grape/grape?tab=readme-ov-file#describing-and-inspecting-an-api), we can use `Route#options` and `Route#settings`. > Note that difference of Route#options and Route#settings. > > The options can be referred from your route, it should be...