Add belongs_to association.  Note, a transaction method already exists in Active Record, so this code creates a method tx that uses the a note object's foreign_key (transaction_id) that points to a Transaction class object
Add belongs_to association.  Note, a transaction method already exists in Active Record, so this code creates a method tx that uses the a note object's foreign_key (transaction_id) that points to a Transaction class object

gb23/hows-my-cryptocurrency,gb23/hows-my-cryptocurrency,gb23/hows-my-cryptocurrency