Originally published on Gandalf’s official blog, but I wanted to hare it here to reach as many developers as much as possible.
But first, my thoughts:
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…
With a real world example
If you’re using react-redux then you should be familiar with the code below.
// SomeContainer.jsx
const mapDispatchToProps = (dispatch) => ({ ...});
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…
I recently started doing React + Redux development and Redux took some getting used to. So I…
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’m working on a super-top-secret-but-not-really-maybe-cryptocurrency-related web product and I eventually ended up needing two back-end applications; one built in Rails and the other in Node.js
Update: You can see the class we end up writing, but in Java here.
I started using Kotlin in Android, yesterday. Yes, yesterday. I haven’t even done serious Android development in a while, so I was completely lost; drowning…