Simple CRUD database example in Ruby