Skip to content

Instantly share code, notes, and snippets.

@naoyanickf
Created January 25, 2018 04:04
Show Gist options
  • Save naoyanickf/47c6d1f7beaed04d9afedadd69ba2921 to your computer and use it in GitHub Desktop.
Save naoyanickf/47c6d1f7beaed04d9afedadd69ba2921 to your computer and use it in GitHub Desktop.
sample code
Coin.where(coin_image: nil).each do |coin|
p coin.id
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment