Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip primary key in a more reliable way across rails versions
Rails decided to remove Column#primary [1] and this breaks our ability to detect whether the column is the primary key as we used to, so rely on the target class' primary key method for that, which should work fine in all other rails versions. [1] rails/rails@05dd3df
- Loading branch information