Skip to content

Commit

Permalink
Merge pull request rails#48752 from wildmaples/patch-1
Browse files Browse the repository at this point in the history
Use different bucket name in AS Guide for clarity
  • Loading branch information
adrianna-chang-shopify authored Jul 20, 2023
2 parents fcf3fbf + 3fd850f commit 0ccde29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/active_storage_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,11 @@ user.avatar.attached?
```

In some cases you might want to override a default service for a specific attachment.
You can configure specific services per attachment using the `service` option:
You can configure specific services per attachment using the `service` option with the name of your service:

```ruby
class User < ApplicationRecord
has_one_attached :avatar, service: :s3
has_one_attached :avatar, service: :google
end
```

Expand Down

0 comments on commit 0ccde29

Please sign in to comment.