ActiveRecord associations on top of PostgreSQL arrays