Tomohiko Mimura

Results 10 issues of Tomohiko Mimura

[Faraday 2.x has been released.](https://github.com/lostisland/faraday/blob/fc112254746ae92e3dcc8e6f9055878b1c583cc7/CHANGELOG.md#200-2022-01-04) but, faraday is require to `< 2.0.0` in the gemspec of zendesk_api. https://github.com/zendesk/zendesk_api_client_rb/blob/8665b8e9bfb638805be550ab54aca0ac59b86271/zendesk_api.gemspec#L29 Is it possible to relax the dependency?

A new MySQL adapter (trilogy) has been introduced to rails. https://github.com/rails/rails/pull/47880 activerecord-import should also support trilogy. > Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility,...

The following outputs results that `rbs prototype rb` does not expect. ``` $ cat on_load.rb class MyClass; end # Include (lazy) MyClass in ActiveRecord::Base # ActiveSupport.on_load uses class_eval internally. #...

Similar to https://github.com/ruby/rbs/issues/1345. ```ruby # callable.rb module Callable extend ActiveSupport::Concern # https://api.rubyonrails.org/v7.0.5/classes/ActiveSupport/Concern.html#method-i-class_methods class_methods do def call(...) new(...).call end end def call(*) raise NotImplementedError end end ``` ```sh $ rbs prototype...

## Introduction [Allow specifying recurring tasks just with a "command" ](https://github.com/rails/solid_queue/commit/90f63c8a776a58c276ab34fd5b904e20051f550a) I find this feature very interesting. However, there is one barrier to its use. That is, the parent of...

Warning by https://bugs.ruby-lang.org/issues/20205 ``` # rake /usr/local/bundle/gems/activesupport-6.1.3/lib/active_support/core_ext/class/subclasses.rb:30: warning: method redefined; discarding old subclasses -- create_table("legs", {force: true}) -> 0.0014s -- create_table("chairs", {force: true}) -> 0.0002s # Running tests with run...

Ruby v3.3.5 was recently released. https://www.ruby-lang.org/en/news/2024/09/03/3-3-5-released/ Warning occurs when loading Rollbar Gem in Ruby v3.3.5 ``` root@6533553801ce:/# cat Gemfile source "https://rubygems.org" gem "rollbar" root@6533553801ce:/# cat main.rb require "rollbar" p "RUBY_VERSION...

Ruby

I use ActionMailer. Since we are using ActionMailer, `Rollbar::ActiveJob` is automatically applied. https://github.com/rollbar/rollbar-gem/blob/c4edf7e5094c3c043f2032fe560d217d5057c752/lib/rollbar/plugins/active_job.rb#L46 This makes it very convenient that any exceptions that occur during the mail sending process are automatically...

Ruby

Warning by https://bugs.ruby-lang.org/issues/20205 ``` # bundle exec rake minitest Run options: --seed 23847 # Running: /ruby-http-client/lib/ruby_http_client.rb:143: warning: literal string will be frozen in the future ...../ruby-http-client/lib/ruby_http_client.rb:143: warning: literal string will...

I want to use timestamp with time zone according to this guide. https://github.com/rails/rails/commit/f65d5928af99e1f4acea7ac81b9a35030a55bc1b ```ruby ActiveSupport.on_load(:active_record_postgresqladapter) do self.datetime_type = :timestamptz end ``` However, this setting is ignored if the current MaintenanceTasks...