Upgrading to Rails 8: Cache error (Singleton cannot be dumped)
“<p>I'm upgrading a Ruby on Rails app from Rails 6.1 to Rails 8.0.2.</p>
<p>I've hit a problem with some methods that use Rails cache. These methods worked fine on Rails 6 but throw an error - singleton can't be dumped - on Rails 8.</p>
<p>An example method is here:</p>
<pre><code>def events_from_at”
stackexchange · user1022788 · 5/13/2025
Open original →Devise unable to find_for_authentication
“<p>Having upgraded Rails from 7.1.4 -> 7.2.1 users can't log in any more. Strangely, this only appears to affect development mode. The problem appears to be caused when the sessions controller calls:</p>
<pre><code>resource = warden.authenticate!(auth_options)
</code></pre>
<p>...which will call ”
stackexchange · knirirr · 8/23/2024
Open original →Apache Passenger Rails vhost failing after Ruby and Rails upgrade
“<p>I recently upgaded three Rails applications: UAM, Proposals, and Projects from Rails 5.2 to 6.1.7.7 and from Ruby 2.7.4 to Ruby 3.3.1.</p>
<p>The three applications were previously split from the same monolith Proposals application, so are very similar.</p>
<p>UAM and Proposals deployed successfu”
stackexchange · Ed Allen · 7/17/2024
Open original →