500 on POST /today: @queued_property_ids nil in create turbo stream #74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone — discovered during operations (production 500 in logs).
Repo
ldraney/landscaping-assistantWhat Broke
POST /today(WorkQueueItemsController#create) returns 500 when rendering the turbo stream response. The_property_item.html.erbpartial calls@queued_property_ids.include?(property.id)on line 11, but@queued_property_idsis never set in thecreateaction — only inindex. Result:NoMethodError: undefined method 'include?' for nil.Repro Steps
Expected Behavior
Property is added to the queue. The turbo stream replaces the property item partial, showing "Queued" badge instead of the + button.
Environment
Acceptance Criteria
Related
landscaping-assistant— project this affects