Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run console command
Product.create!([{ name: 'apple', price: 5, description: 'green' },
{ name: 'beer', price: 10, description: 'cold' }])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment