LoginSignup
2
2

More than 3 years have passed since last update.

Rails6でActiveStorage導入でNameError: uninitialized constant ::Analyzableエラーが発生した対処

Posted at

エラー内容

NameError: uninitialized constant #<Class:0x0000000000000000>::Analyzable
from /bundle/ruby/2.7.0/gems/activestorage-6.0.3.3/app/models/active_storage/blob.rb:26:in `<class:Blob>'

発生した環境

  • rails 6.0.3.3
  • ruby 2.7

対処

# config/environments/development.rb

config.autoloader = :classic

関連 Issue

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2