<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo" -->

---
title: credentials:keys, bulk Action Text, and more! | daily.dev
description: Rails adds bin/rails credentials:keys, which lists every key in the credentials file without printing the secrets. Action Text now locates attachables in bulk,...
canonical: https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: credentials:keys, bulk Action Text, and more! | daily.dev
og:description: Rails adds bin/rails credentials:keys, which lists every key in the credentials file without printing the secrets. Action Text now locates attachables in bulk,...
og:url: https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo
og:image: https://api.daily.dev/og/posts/JIdZEzoxO.png
og:image:alt: credentials:keys, bulk Action Text, and more!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# credentials:keys, bulk Action Text, and more!

**[This Week in Rails](https://daily.dev/sources/twirails)** · 5 min read · 0 upvotes · 0 comments

## Summary

Rails adds bin/rails credentials:keys, which lists every key in the credentials file without printing the secrets. Action Text now locates attachables in bulk, one query per model class, instead of one SGID lookup per attachment. Action Mailer no longer loads Active Job at boot, so apps without the activejob gem start fine. Action Mailbox conductor routes now draw only in local environments. add_check_constraint accepts enforced: false on PostgreSQL 18+. 48 contributors worked on this week's changes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://world.hey.com/this.week.in.rails/credentials-keys-bulk-action-text-and-more-c4934392>

## Questions this post answers

### How can I list the keys in my Rails credentials file without revealing the secret values?

Use bin/rails credentials:keys, optionally with --environment production. It lists every key in the credentials file without the secrets. Paths use the same dot notation as credentials:fetch, such as aws.access_key_id, so you can verify what is set in production without exposing any values.

_Rails developers keep up with changes like this on daily.dev._

### Why was my Rails app issuing one query per Action Text attachment, and has it been fixed?

Rendering rich text with N attachments used to cost N queries, one SGID lookup each. Attachables, galleries included, are now located in bulk, one query per model class, and memoized per content instance. Saving a body with many attachments also no longer re-renders the body once per attachment.

_Developers chasing N+1 queries in Rails can follow fixes like this on daily.dev._

### Can a Rails app send mail with Action Mailer without having Active Job installed?

Yes. config.load_defaults no longer sets config.action_mailer.delivery_job, which previously loaded Active Job as soon as Action Mailer loaded. Apps that send mail without the activejob gem now boot, and ActionMailer::TestCase and the synchronous email assertions work in those apps too.

_Teams planning Rails upgrades can track changes like this on daily.dev._

## Similar posts on daily.dev

- [No tricks, just treats](https://daily.dev/posts/no-tricks-just-treats-ssvpluw7m) · Rails · 0 upvotes · 0 comments
- [Securing Rails](https://daily.dev/posts/securing-rails-sybjpaec6) · This Week in Rails · 0 upvotes · 0 comments
- [Securing Rails](https://daily.dev/posts/securing-rails-29nm1uc4e) · Rails · 2 upvotes · 0 comments
- [This week in \#dev \(Jan 9, 2026\)](https://daily.dev/posts/this-week-in-dev-jan-9-2026--8wmvwvtbr) · thoughbot · 0 upvotes · 0 comments
- [Action Cable adapterization and more](https://daily.dev/posts/action-cable-adapterization-and-more-hdaghfbw3) · This Week in Rails · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"credentials:keys, bulk Action Text, and more!","url":"https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo"},"datePublished":"2026-11-28T00:01:21.795Z","dateModified":"2026-11-28T00:03:55.513Z","description":"Rails adds bin/rails credentials:keys, which lists every key in the credentials file without printing the secrets. Action Text now locates attachables in bulk,...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"This Week in Rails","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"This Week in Rails","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2e4a480ecf1e49a98e0557296e66d407","url":"https://daily.dev/sources/twirails"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,rails","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"This Week in Rails","item":"https://daily.dev/sources/twirails"},{"@type":"ListItem","position":3,"name":"credentials:keys, bulk Action Text, and more!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/credentials-keys-bulk-action-text-and-more--jidzezoxo#faq","mainEntity":[{"@type":"Question","name":"How can I list the keys in my Rails credentials file without revealing the secret values?","acceptedAnswer":{"@type":"Answer","text":"Use bin/rails credentials:keys, optionally with --environment production. It lists every key in the credentials file without the secrets. Paths use the same dot notation as credentials:fetch, such as aws.access_key_id, so you can verify what is set in production without exposing any values. Rails developers keep up with changes like this on daily.dev."}},{"@type":"Question","name":"Why was my Rails app issuing one query per Action Text attachment, and has it been fixed?","acceptedAnswer":{"@type":"Answer","text":"Rendering rich text with N attachments used to cost N queries, one SGID lookup each. Attachables, galleries included, are now located in bulk, one query per model class, and memoized per content instance. Saving a body with many attachments also no longer re-renders the body once per attachment. Developers chasing N+1 queries in Rails can follow fixes like this on daily.dev."}},{"@type":"Question","name":"Can a Rails app send mail with Action Mailer without having Active Job installed?","acceptedAnswer":{"@type":"Answer","text":"Yes. config.load_defaults no longer sets config.action_mailer.delivery_job, which previously loaded Active Job as soon as Action Mailer loaded. Apps that send mail without the activejob gem now boot, and ActionMailer::TestCase and the synchronous email assertions work in those apps too. Teams planning Rails upgrades can track changes like this on daily.dev."}}]}
```

