I am creating a relationship between two tables and objects.
however I need to connect them using a foreign key other than the
public_user_id. Namely the customer_number field.
How do I code this in Ruby on Rails?
Thank you for your time in advance.