🤯 60% OFF BLACK FRIDAY SALE 650+ books, courses & coding assessments!

RubySource: The Robot Factory – Part One

    Darren Jones
    Share

    Adding and Deleting Resources in Sinatra In this tutorial I’m going to go through how to use Sinatra to add and remove resources to and from a database. To demonstrate this, I’m going to build a tiny web app called The Robot Factory that allows users to ‘build’ a production line of robots. Each robot will be saved to a database with randomly chosen head, body and legs and can also be deleted after it has been built. You can see the final version running here – http://robotfactory.heroku.com/ .

    Read the original:
    RubySource: The Robot Factory – Part One