Upload json into db
bundle exec rake mongo:import_file[/Users/dudo/Downloads/M19.json]
Ensure images are lower case
brew install rename rename -f 'y/A-Z/a-z/' *
If lands, or cards with multiple images aren’t referenced, properly
%w(Plains Island Swamp Mountain Forest).each do |land| CardSet.last.cards.where(name: land).each_with_index do |c, i| c.update_attribute :imageName, "#{c.imageName}#{i + 1}" end end