Questions tagged [rails-upgrade]
This is mainly deals with issues when upgrading the rails version.
rails-upgrade
46
questions
1
vote
0
answers
33
views
Rails 7.1 Error when reading active record model from redis cache
We have a problem during upgrade Rails from 7.0.8 to 7.1.3.2 with reading AR models from Redis cache.
We have several places where we cache AR models with Redis:
Rails.cache.fetch("key_name")...
0
votes
0
answers
39
views
rails 6.1 inconsistent behavior when using framwork_default_6_1.rb vs load_defaults = 6.1
I am upgrading my project from 6.0 to 6.1 and in my project, I have
config/initializers/new_framework_defaults_6_0.rb
# Be sure to restart your server when you modify this file.
#
# This file contains ...
0
votes
1
answer
521
views
Psych AliasesNotEnabled after upgrading Rails to latest version
I had an application running on Ruby 1.9.2 and Rails 3.0.3. I upgraded Ruby to version 3.0.0 and Rails to 7.1.2. Now when I run "rails server", I have the following error message and the ...
0
votes
1
answer
110
views
How to get rid of "actor already terminated (Celluloid::DeadActorError)" warning
I am getting a warning actor already terminated (Celluloid::DeadActorError) when I try stop Rails server using Ctrl + C
FYI, recently I have upgraded Rails application to version 6.1.7 with Ruby ...
1
vote
2
answers
134
views
js requests to Rails 6.0 app render html template instead of js
I'm in the process of migrating a legacy Rails 5.0 app to (hopefully) 7.x. I got to 5.2.x without too much trouble. I'm currently trying to upgrade to 6.0 and I have a problem with controller actions ...
0
votes
1
answer
89
views
Rails 5 (from Rails 4.2) and Devise 4 (from Devise 3) Upgrade: Warden::Proxy Instance Not Found in Request Environment
So we’re in the process of upgrading an old Rails 4 app. We’re currently trying to jump from Rails 4.2 to 5.0. Part of this involves upgrading Devise from version 3 to version 4. We’ve been jumping ...
0
votes
0
answers
121
views
Upgrading Rails Application from 5.0 to 7.0.4.3, NameError uninitialized constant
I recently upgraded my rails application from ruby 2.6.6 to ruby 3.2.2 and rails 5 to rails 7.0.4.3
After upgrading gems that were failing, I am now able to run rails s, but I get this error whenever ...
0
votes
0
answers
59
views
Rails Legacy Upgrade NameError
I recently upgraded an old ruby app from rails 5 to rails 7. Ever since, I have been getting this error. It happens after I run rails s and access the application through the browser (seems like the ...
3
votes
0
answers
944
views
What is causing the 'Alias parsing was not enabled' error in Psych while upgrading Rails to 6.0.6.1 and how can it be resolved?
Alias parsing was not enabled
getting psych error when upgrading rails from 5.2 to 6.0.6.1
.rvm/gems/ruby-2.7.8@reports2/gems/psych-5.1.0/lib/psych/visitors/to_ruby.rb:432:in `visit_Psych_Nodes_Alias':...
0
votes
3
answers
1k
views
Psych errors after Rails version update
We recently updated a client's application from Rails 4 to rails 5.
However, after running the test suite the following issue appeared whilst trying to create an object:
Failure/Error:
...
0
votes
1
answer
371
views
Enum on model being loaded twice after upgrade to Rails 7
I've just upgraded to Rails 7, and suddenly I'm having a very odd issue with one of my models.
This is the model (please ignore the terrible naming of the keys and the fact that this would probably be ...
1
vote
2
answers
211
views
uninitialized constant ActiveRecord::Railtie::ActiveRecord
While upgrading from Ruby 2.6.6 to Ruby 3.1.3 and from Rails 5.2.6 to Rails 6.0.6, I made sure that I followed and incorporated all the changes between these 2 rails versions. I am not sure why I am ...
0
votes
0
answers
225
views
Migrate rails application using ar-octopus gem to Rails v6.x.x
Did Rails Dev, migration rails app using ar-octopus to rails version 6/7.
As I see there are no updates regarding the rails v6 in ar-actopus gem, did any tried to upgrade on own.
Thanks in Advance.
1
vote
0
answers
61
views
Rails 6.1 gives extra precision value on upgrade
I was upgrading the Ruby on Rails application from 6.0 to 6.1. When checking the start_date which is having having extra precision value when it comes to 6.1
2.7.0 :001 > User.last.created_at
...
2
votes
1
answer
352
views
Upgrading to from rails 5 to 6 and zeitwerk
We have a rails 5.2.8.1 app and a trying to upgrade to rails 6.1. We have managed to make the application run locally with only minor problems.
However, pushing to our ci (circleCI) we get errors in ...