STWORZMY ZAMOWIENIE, rails generate scaffold Order name address:text email pay_type, oraz rails generate migration add_order_to_line_item order:references, rake db:migrate.