Commit 3fc0e2e
Align renderer_password initializer with Pro docs + source
Previous commit added Rails.env-branching + explicit raise in non-local
envs. That duplicates what Pro's configuration.rb already does at boot
(validate_renderer_password_for_production) and diverges from the
documented pattern in pro/node-renderer.md and pro/installation.md.
Revert to the simple ENV.fetch with a dev default. Pro handles the
prod-enforcement itself — if RENDERER_PASSWORD is unset in a
production-like env, Pro raises at boot with a helpful error message
pointing at exactly this fix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a3b9535 commit 3fc0e2e
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
29 | 24 | | |
0 commit comments