Skip to content

Conversation

@CloCkWeRX
Copy link
Collaborator

@CloCkWeRX CloCkWeRX commented Sep 7, 2025

Fix
```ActionView::Template::Error (undefined method to_date' for nil): 2025-09-07T05:33:50.187788+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 2025-09-07T05:33:50.187790+00:00 app[web.1]: Causes: 2025-09-07T05:33:50.187793+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] NoMethodError (undefined method to_date' for nil)
2025-09-07T05:33:50.187793+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 24: = link_to activity_path(slug: activity.slug) do
2025-09-07T05:33:50.187794+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 25: %h4= activity.name
2025-09-07T05:33:50.187794+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 26: %small.due-date{title: activity.due_date}
2025-09-07T05:33:50.187795+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 27: = standard_time_distance(activity.due_date.to_date, Time.zone.now.to_date)
2025-09-07T05:33:50.187796+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 28: %div
2025-09-07T05:33:50.187796+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 29: %small.text-justify{title: activity.description}= activity.description.truncate(150)
2025-09-07T05:33:50.187805+00:00 app[web.1]: [7ae81f90-c47f-c5ae-550a-bef505f3a202] 30: %p

@CloCkWeRX CloCkWeRX merged commit f55f88c into dev Sep 7, 2025
16 checks passed
@CloCkWeRX CloCkWeRX deleted the fix-activities branch September 7, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants