I’ve been experimenting with bots for a couple of years now and I’ve gone through IBM Watson’s Dialog API, api.ai and Wit.ai for NLU As A Service.
So you use some REST API that responds with JSON with a ton of nested objects and arrays, an example of this is the Google Maps Direction API.
If you’re using Postgres 9.4+ in your Rails application, you get to create columns in the jsonb type, which lets you store non-relational data.
jsonb
To do this, you add the column in a migration as usual, like so:
add_column :users…
I decided to write a series of posts that show how I do certain things with graphql-ruby in server side Rails applications.
Today, I’ll be showing how I handle authentication. Understanding this article requires…
At BuyCoins, we use the Interactor gem for business logic. It works like this:
Say you have an Interactor called SendCoins. You call can trigger it’s functionality by doing
SendCoins
SendCoins.call(amount: 0.5…