I updated my repository: migraine-app

I learned about 2 news gems:

  • Ohm for storing objects in a database. To use Ohm you need to install Redis.
  • Scrivener helps to validate parameters that you want to assign.

You need to do the following:

1. Install redis

$ brew install redis

2. Install the gems

$ gem install cuba
$ gem install mote
$ gem install mote-render
$ gem install ohm
$ gem install scrivener

3. Start the server

$ rackup config.ru

4. Done!

Go to http://localhost:9292

Requires Ruby 2.1+

So, I will need to do the same with the Intputs and Outputs.