Closed rgaufman closed 3 years ago
I found this: https://stackoverflow.com/questions/65499645/undefined-method-service-name-for-activestorageblob-after-upgrading-to-rails
I tried to run:
rails active_storage:update
But after restarting rails, still getting a 500 server error and this in the log:
[714c03bd-f81c-475b-9a82-c574573d7c2a] ActionView::Template::Error (undefined method `service_name' for #<ActiveStorage::Blob:0x00007fa4258295a8>
Ah, had to run:
rake db:migrate
After updating active_storage. Now working again!
Expected behavior
Blog should load
Actual behavior
The blog throws a 500 internal server error when viewing. The admin section works however:
Steps to reproduce
This happened after doing a bundle update
System configuration
Rails version: rails (6.1.1) CMS version: comfortable_mexican_sofa (2.0.19) Ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]