Ruby on Rails app for a database of artists and their artworks
Connect to the Rails console using Heroku:
heroku run rails c -a <app-name>
Create a user:
Role can be admin or artist.
User.create!(
email: "jane@gmail.com",
role: "artist",
password: "a password",
password_confirmation: "a password"
)
### Sync existing users into the users table
`heroku run rake chargebee:sync -a <app-name>`
This will not create duplicate users. It checks to see if the Chargebee ID is already in the database.