Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove to_sentence method #1074

Conversation

nikhilbhatt
Copy link

@nikhilbhatt nikhilbhatt commented Oct 8, 2024

Fixes #1061

Problem

to_sentence method is part of activesupport and will fail in case kamal is running independently.

Solution

Use join(',')

@nikhilbhatt nikhilbhatt force-pushed the 1061-remove-to-sentence-rails-method branch from 4a11b59 to 6e3bb3c Compare October 8, 2024 05:02
@nikhilbhatt nikhilbhatt closed this Oct 8, 2024
@nikhilbhatt nikhilbhatt reopened this Oct 8, 2024
Copy link
Contributor

@tuladhar tuladhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@djmb
Copy link
Collaborator

djmb commented Oct 8, 2024

Thanks for the PR @nikhilbhatt!

We do include Active Support as a dependency of Kamal, but we were not requiring active_support/core_ext/array/conversions so `to_sentence was not available. I've raised #1076 to fix that so I'll close this now.

@djmb djmb closed this Oct 8, 2024
@nikhilbhatt nikhilbhatt deleted the 1061-remove-to-sentence-rails-method branch October 8, 2024 12:35
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.

[Kamal 2.0] Running accessory details can cause nomethoderror
3 participants