Association without id in table

can we use association(has_one,has_many,belongs_to) without
using id as primary key.

I’m not sure, since I never used it that way,
but my first guess would be, that the :finder_sql option
would allow to get around the id column

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs