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