-
## Reproduction Steps
1. Add a test case
```rb
require 'rails_helper'
describe User do
it do
user = User.new
user.stubs(:id)
Rails.cache.fetch('test'){ user }
end
end
…
-
# bug
(received this email from randy)
Hi Alisha,
We can now confirm that there's a "undefined method `id' for nil:NilClass" error popping up during the validation process. It occurred with two atte…
-
`foreman-maintain plugin purge-puppet` uses a down migration for uninstalling puppet plugin, this unfortunatelly fails on Host referring to environments table for hosts, that have environment set.
…
-
Rails: latest main (https://github.com/rails/rails/commit/34934071c61bcc89edb805ccc50430df93b96f73 currently).
Ruby: `ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]`.
Reproduction…
-
Hi there,
I have my good_job set up like this:
```
config.good_job = {
preserve_job_records: false,
retry_on_unhandled_error: false,
on_thread_error: ->(exception) { Ai…
-
### Steps to reproduce
```
# Rails 6.1
(byebug) YAML.load(YAML.dump(ActiveRecord::Type::Time::Value.new(Time.current))) + 1.day
Thu, 23 Dec 2021 10:24:42.873895000 UTC +00:00
# Rails 7
(byebug…
-
Rails 7.0.1
Ruby 3.0.1
This is probably a Rails issue, but it originates from turbo-rails
In converting to Rails 7, one of my biggest problems was to overcome the loss of the confirm message wh…
salex updated
2 years ago
-
### Steps to reproduce
```ruby
#!/usr/bin/env ruby
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is requ…
-
when i run ./beef it says
Could not find gem 'eventmachine' in locally installed gems.
Run `bundle install` to install missing gems.
and when i run bundle install it says
An error occurred while…
-
Rails/PluckInWhere assumes that the `pluck` is being called on an ActiveRecord relation.
```ruby
data = Rails.cache.fetch('iterations') { Api.iteration_overview }
indexed_iterations = Iteration.w…