rails active_storage:install IS NOT WORKING

后端 未结 4 2095
无人及你
无人及你 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:37

    Your problem is here:

    require "active_storage"
    

    You need to require the engine:

    require "active_storage/engine"
    

提交回复
热议问题