Created
August 26, 2022 03:03
-
-
Save jywarren/467fb6e4eb4c034e2b698b4c998e7a1a 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
w = Map.where.not(author: 'anonymous').collect(&:warpables) | |
urls = [] | |
w.each do |img| | |
img.each do |i| urls << [i.map.name,i.image.url];end | |
end | |
file = File.new("images.json", "w") | |
file.puts(urls.to_s) | |
file.close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment