Top "Rails-activestorage" questions

Active Storage is a component of Ruby on Rails.

Ruby on Rails - Active Storage - how to accept only pdf and doc?

Is it possible to add a validation to accept only .pdf and .doc files using Active Storage?

ruby-on-rails ruby-on-rails-5 rails-activestorage
Disable Active Storage in Rails 5.2

Upgrading Rails to 5.2, and I found out that I must commit the storage.yml into version control. I don't plan …

rails-activestorage ruby-on-rails-5.2
Rails: Can't resolve image into URL: to_model delegated to attachment, but attachment is nil Rails 5.2

I have the following form: <%= form_with(model: user, local: true) do |form| %> <% if user.errors.any? %&…

ruby-on-rails forms model rails-activestorage
ActiveStorage service_url && rails_blob_path cannot generate full url when not using S3

I have a basic ActiveStorage setup with one model that has_many_attached :file_attachments. In a service elsewhere I'm …

rails-activestorage
How to save an image from a url with rails active storage?

I'm looking to save a file (in this case an image) located on another http web server using rails 5.2 active …

ruby-on-rails rails-activestorage
Rails ActiveStorage Error - MessageVerifier-InvalidSignature

I'm working on a project that requires an ActiveStorage has_many_attached :photos situation on a Location model. I have …

ruby-on-rails ruby rails-activestorage