The plan is for Active Storage to use a three-level configuration for
multiple services, like Active Record with multiple databases:
primary:
production:
service: S3
# ...
development:
service: Disk
# ...
avatars:
production:
service: S3
public:
“Even when the pull request gets fully released, I don't know it will support
my use case.”
It will. In 6.1, you’ll be able to configure two services that use the same
service adapter (S3) and different buckets. Then you can specify which one to
use on a per-attachment basis.
--
You
Hi everyone,
I am happy to announce that Rails 6.0.1 has been released.
CHANGES since 6.0.0
To view the changes for each gem, please read the changelogs on GitHub:
• Action Cable CHANGELOG
• Action Mailbox CHANGELOG
• Action Mailer CHANGELOG
• Action Pack CHANGELOG
• Action Text
Hi everyone,
I am happy to announce that Rails 6.0.1.rc1 has been released.
If no regressions are found, expect the final release on Tuesday, November 5,
2019.
If you find one, please open an [issue on
GitHub](https://github.com/rails/rails/issues/new)
so that we can fix it before the
+1 for deprecating.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to
You can use rescue_from instead of discard_on:
https://api.rubyonrails.org/classes/ActiveSupport/Rescuable/ClassMethods.html
On Thu, May 2, 2019 at 8:44 AM Duka wrote:
> Hello,
>
> I have seem Rails Guides about feature request and Im posting this
> idea/issue here, in case of someone is
Do you know why the AnalyzeJobs are failing to find their blobs? Are you
deleting blobs immediately after creating them, or...?
On Tue, Feb 12, 2019 at 11:03 AM smarder via Ruby on Rails: Core <
rubyonrails-core@googlegroups.com> wrote:
> I have a growing list of failed ActiveStorage::AnalyzeJob
Validations are planned for Rails 6. Here’s a rough sketch of the API I
have in mind:
validates_attached :logo, presence: true, byte_size: { less_than:
10.megabytes, message: "must be smaller than 10 MB" }, content_type:
/\Aimage\//
I intended to implement this myself, and laid the
proxy method
>- breaks provider abstraction
>- Changing providers will require a fair amount of config changes to
> work with CDN
>- less load on application server
>- defaults to a long service_urls_expire_in
>
> On Friday, November 2, 2018 at 10:36:58 PM
I think I’m okay with recognizing a special value so that you can more
easily delete an attachment via a form, but given that we can choose any
value, I’d prefer something other than an empty string (like "delete" or {
"delete" => true }).
On Mon, Jul 16, 2018 at 12:33 AM Kyle Fox wrote:
>
37signals released a gem called Marginalia that does something
similar: https://github.com/37signals/marginalia.
On Friday, January 4, 2013 8:59:34 PM UTC-5, grosser wrote:
It would be great to be able to annotate sql with comments to tell where a
query came from/or user/account runs it -
11 matches
Mail list logo