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

Mutate I18n.load_path only the first time Paperclip::Glue is included #117

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

jasonpenny
Copy link

Each time Paperclip::Glue is included, I18n.load_paths += ... is being executed.

This is happening because locale_path is an array of file paths which will not exist as a single item in I18n.load_path,
so I18n.load_path.include?(locale_path) always returns false

@jasonpenny
Copy link
Author

@ssinghi can I get a review on this?

@jasonpenny
Copy link
Author

@amanksingh01-kreeti can I get a review on this?

@ssinghi ssinghi merged commit 8bdf43f into kreeti:master Jul 20, 2023
1 check passed
@jasonpenny
Copy link
Author

@ssinghi thanks for merging this, can someone publish a new version of kt-paperclip to rubygems with recent changes?

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.

None yet

2 participants