This gem is not compatible with rails 8.1, as `lookup_cast_type_from_column` has been removed, offending commit is here: https://github.com/rails/rails/commit/9ad36e067222478090b36a985090475bb03e398c I'm still using this gem over `insert_all` / `upsert_all` as I prefer its API.