How should I be creating models to properly handle a many to many relation with batches_transactions and also be able to access the additional fields available in the batches_transactions tables. Should be modeling my tables differently?
Sequel.migration do
up do
create_table :transactions do
primary_key :id
String :status #new, #completed