Top "Rails-activestorage" questions

Active Storage is a component of Ruby on Rails.

How to retrieve attachment url with Rails Active Storage with S3

rails version 5.2 I have a scenario that I need to access the public url of Rails Active Storage with Amazon …

ruby-on-rails amazon-s3 rails-activestorage
Rails 5.2 Active Storage purging/deleting attachments

So I'm using Active Storage to upload multiple images attached to a Collection model. Everything works well except whenever I'm …

ruby-on-rails file-upload rails-activestorage
ActiveStorage File Attachment Validation

Is there a way to validate attachments with ActiveStorage? For example, if I want to validate the content type or …

ruby-on-rails rails-activestorage ruby-on-rails-5.2
How to get url of Active Storage image

I want to get list of records with attached images as a links or files by api. I have a …

ruby-on-rails ruby ruby-on-rails-5 rails-activestorage
Get path to ActiveStorage file on disk

I need to get the path to the file on disk which is using ActiveStorage. The file is stored locally. …

ruby-on-rails ruby rails-activestorage
How to properly do model testing with ActiveStorage in rails?

I have just switched to using ActiveStorage on rails 5.1.4 and I am new to TDD and struggling to figure out …

ruby-on-rails rspec rails-activestorage
Cannot load Rails.config.active_storage.service

I'm setting up a new rails 5.2 app utilising Active Storage and using AWS for the hosting of images in production. …

ruby-on-rails amazon-s3 rails-activestorage ruby-on-rails-5.2
How can I get url of my attachment stored in active storage in my rails controller

How can I get url of my has_one model attachment stored in active storage in my rails controller. So, …

ruby-on-rails ruby rails-api rails-activestorage ruby-on-rails-5.2
How to update attachment in ActiveStorage (Rails 5.2)

I recently upgraded my project to the latest Rails version (5.2) to get ActiveStorage - a library that handles attachment uploads …

ruby-on-rails activerecord ruby-on-rails-5 rails-activestorage
Rails active storage - Open/download link

A question on Active Storage: I just updated to rails 5.2 and I am trying to open the attached document which …

ruby-on-rails ruby rails-activestorage ruby-on-rails-5.2