Upsert to Postgres
Upsert to Postgres (Ruby/Rails)
One of the most popular destinations for API data is Postgres. Sequin makes it easy to sync API data to Postgres so you can read your data at rest.
Read more about upserting to Postgres.
Active Record is the most popular ORM for Ruby and the default ORM that ships with Ruby on Rails.
To handle Sequin records using ActiveRecord, first set up your models like this:
Then you can upsert records like this:

