BigDecimal.new has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.
Refer
https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503
This PR will make descendants tracker use weak references and weak map, so that unused subclasses (unused anonymous subclasses) can be garbage collected, for more details you can see #31395. /cc @matthewd
Ideally we would need `WeekKe…
The v4.3.1 has already released that includes Redis 4.0 support.
https://github.com/resque/resque-scheduler/blob/master/CHANGELOG.md#431---2017-11-20
BigDecimal.new has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.
Refer https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503
$ cd rails/activerecord/
...
This pull request reverts 6ec0ed67d9afcc666ad0424b10e9903f63e60714 changed based on the discussion https://github.com/rails/rails/issues/31369#issuecomment-351082441
At first, I attempt to revert …
route_for (private api).If the current thread is preempted after the stub has been removed but before the original method has been restored, then the other thread will get a NoMethodError when it tries to call the method.
Using `silence_redefinition_of_met…
service_delete_prefixed.active_storage which is using in [ActiveStorage::Service#delete_prefixed](https://github.com/rails/rails/blob/master/activestorage/lib/active_storage/service/azure_storage_service.rb#L55…This pull request aims to address 5-0-stable CI failure.
https://travis-ci.org/rails/rails/jobs/314848740
Error:
ActiveRecord::Migration::ColumnsTest#test_remove_column_with_multi_column_index:
ActiveRecor...
Currently, sanitize methods are private. So need send to use from outside class.
However, sometimes want to use sanitize methods from outside Class when want to generate SQL including multiple tables like search.
In order to avoid us…
Currently, test_copy_table_with_composite_primary_keys test fails depending on execution order. The reproduction step is as follows.
$ ARCONN=sqlite3_mem bin/test -w -n "/^(?:CalculationsTest#(?:test_#skip_query_cache\\!_for_a_...
In our app we are configuring a custom server for Capybara in this way:
Capybara.register_server(:unicorn) do |app, port, host|
Unicorn::HttpServer.new(app, listeners: "#{host}:#{port}", logger: Logger.new(nil)).start.join...
Support database specific options for ANALYZE requests.
EXPLAIN displays the execution plan for the supplied statement and supports very useful options according to [documentation](https://www.postgresql.org/docs/9.4/st…