rails active_storage:install IS NOT WORKING

后端 未结 4 2071
无人及你
无人及你 2021-01-05 00:34

I have updated my rails api application from 5.1 to 5.2. I am using rails api only. I am trying to use the active storage. I think the problem is due to the line conf

4条回答
  •  悲&欢浪女
    2021-01-05 00:38

    The current rails official documents talks about the new application. But if you're upgrading a pre 5.2 app, you have to add or uncomment the field in application.rb

    require "active_storage/engine"
    

    For the new application, this will be already added.

提交回复
热议问题