http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M001599 Supported options :primary_key Specify the method that returns the primary key used for the association. By default this is id.