Created
July 26, 2022 18:30
-
-
Save jywarren/512dd30a23e84c4cceb417c271c0d0f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output = File.open('public/maps2.txt',"w") | |
output << Map.joins(:warpables).where(password: '').distinct.col | |
lect(&:slug).join(',') | |
output.close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment