Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rake db:migrate
- $ rails c
- # pasteaj:
- User.create email: 't@t.com', password: 'testing', password_confirmation: 'testing'
- Admin.create email: 'admin@udonis.co', password: 'volimpivo', password_confirmation: 'volimpivo'
- Shop.create url: 'localhost', key: 'key123', email: 't@t.com', name: 'Localhost', user: User.first
- Order.create shop: Shop.first, firstname: 'A', city: 'B', province: 'C', country: 'D', order_created_at: 'E', product_id: 1, product_image_url: '', product_url: ''
- # end
- $ rails s
- # logiraj se
- # kopiraj ID u fajl
- # pokreni server nad tim fajlom
- # otvori browser
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement