rails active_storage:install IS NOT WORKING
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 config.api_only = true in config/application.rb . I did lot of google but did not find any thing how to use active storage in rails api. Here is my Gemfile : source 'https://rubygems.org' ruby '2.5.1' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") "https://github.com/#{repo_name}.git" end gem 'rails', '~> 5.2.0' gem 'pg', '>= 0.18', '< 2.0' gem 'puma', '~> 3.7' gem 'rack-cors'