Scaffold User object
Scaffold Pie object

rails generate scaffold Pie user:belongs_to title:string is_required:boolean
Scaffold PiePiece object
Scaffold Transaction object

rails generate scaffold Transaction user:belongs_to date:date amount:decimal{12.2} description:string
Scaffold PiePieceTransaction object

rails generate scaffold PiePieceTransaction pie:belongs_to pie_piece:belongs_to transaction:belongs_to