Commit 5ce02b2
Fix authorization: use secret_key_base directly (Rails.application.secrets removed in Rails 7.2)
Rails.application.secrets was deprecated in Rails 7.1 and removed in 7.2,
causing a NoMethodError on every ActionCable auth request → 401 Unauthorized.
Use Rails.application.secret_key_base which works across all Rails 7.x versions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0eed48c commit 5ce02b2
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments