Commit 8b5b759
authored
Fix deployment failure by updating outdated references (#96)
Issue #46
Production deployments were failing because `ConversationDetector` was
trying to load a file that no longer exists. When I renamed the digest
feature to feed, I missed updating the references in
`conversation_detector.rb`.
This fixes the `LoadError` by:
- Removing require for `digest_prompts.rb` and using `feed_prompts.rb`
instead
- Updating all `DigestPrompts` module references to `FeedPrompts`
- Renaming `digested_count` variable to `in_feed_count` for consistency
- Cleaning up outdated comments that still referenced digest terminology
The container health checks were failing because Rails couldn't load the
`ConversationDetector` service. This should allow the application to
start successfully in production.
Tested locally with Docker.1 parent ea4375f commit 8b5b759
File tree
4 files changed
+8
-11
lines changed- app
- models
- services
- automated_feed
- test/services/automated_feed
4 files changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
151 | | - | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| |||
277 | 276 | | |
278 | 277 | | |
279 | 278 | | |
280 | | - | |
| 279 | + | |
281 | 280 | | |
282 | | - | |
| 281 | + | |
283 | 282 | | |
284 | | - | |
| 283 | + | |
285 | 284 | | |
286 | | - | |
| 285 | + | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments