Skip to main content
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: