Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jywarren
Created July 26, 2022 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jywarren/512dd30a23e84c4cceb417c271c0d0f8 to your computer and use it in GitHub Desktop.
Save jywarren/512dd30a23e84c4cceb417c271c0d0f8 to your computer and use it in GitHub Desktop.
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