Top "Ruby-on-rails-5.2" questions

For issues specific to the version 5.2 of Rails.

Rails: How to fix "Missing secret_key_base for 'production' environment"

I simply can't get past the message: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:…

ruby-on-rails ruby-on-rails-5 ruby-on-rails-5.2
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
Rails: ActiveSupport::MessageEncryptor::InvalidMessage

Help me please, I've finished 11 chapters of the rails tutorial, deployed my app to heroku (locally it worked perfectly) and …

ruby-on-rails ruby-on-rails-5.2
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
Separate secret_key_base in Rails 5.2?

I just upgraded from 5.1 to 5.2 and I'm quite confused about this 'better' methodology to storing secrets... Maybe I'm not understanding, …

ruby-on-rails ruby ruby-on-rails-5 ruby-on-rails-5.2
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
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
Cannot edit rails credentials Rails 5.2

I am working on a Rails 5.2 app and I have installed and setup active_storage, however, I can't seem to …

ruby-on-rails ruby-on-rails-5 ruby-on-rails-5.2
Rails 5.2 Encrypted credentials for production environment

I have created the new Rails app with the version of 5.2. Rails 5.2 introduced the encryption feature for the secrets. I …

ruby-on-rails ruby gitlab-ci ruby-on-rails-5.1 ruby-on-rails-5.2