Does anyone know if there is a way to configure custom buckets for specific attachments?
class MyModel < ApplicationRecord ... has_one_attached :logo, bucket: 'custom_bucket' ... end
Not there, sorry. Active Storage is designed for use with a single bucket.
Source: https://habr.com/ru/post/1694616/More articles:Optional.get() против перегруженного Optional.orElseThrow() в Java-10 - javaИспользование UV4L на малине pi 3 с C310 - raspberry-piSqlCommand.ExecuteNonQuery freezes - c #How do charities rate the use of donated CPUs? - performanceDoes python optimize unused variables? - pythonError handling in APL - error-handlingInitialization of property with closure - closuresWhat parsers do modern compilers use? - compiler-constructionReplace with .lengthCompare warning - scalaThink of a redirect when registering with an error - ruby-on-railsAll Articles