For numbers 1 through 100 FooBar should receive a number as input and then return a response based on the following rules:
- Numbers divisible by three are replaced by the word 'foo'
- Numbers divisible by five by the word 'bar'.
- Numbers divisible by both become 'foobar'.
- Any other number should simply return that number.
- Clone the repo
- Install dependencies
bundle install
- Setup DB
rake db:create db:migrate db:test:prepare