Blogs
Using Rails 5 ActionCable and RethinkDB to build a Reactive WebSocket App
In this article we will demonstrate how to build a WebSockets driven application using Rails 5’s ActionCable. By using RethinkDB’s active changefeeds feature we can eliminate the need for a separate event broadcasting service like Redis, resulting...
Introduction to Concurrency Models with Ruby. Part I
Running multiple processes is not actually about concurrency, it’s about parallelism. Although parallelism and concurrency are often confused, they are different things. I like this simple analogy:Concurrency: having a person juggle many balls wit...
Teaching an AI to play a simple game using Q-learning
In this post I will walk you through how to teach a computer to master a simple video game using the q-learning reinforcement learning algorithm. We will implement the algorithm from scratch in Ruby without the use of external gems.
To enable us ...
How to deploy Rails 5.1.2 and Yarn on Dokku – Michiel Sikkes
Last week I deployed a new custom deployment of Airstrip on a Microsoft Azure cloud of one of our clients. For this deployment, I used the new Rails 5.1.2 that uses Yarn to deploy JavaScript and CSS assets.We use Intercity and Dokku to deploy our ...
Why it is just lazy to bad-mouth Ruby on Rails | AkitaOnRails.com
It's inevitable these days: we will see an article proclaiming the demise of Ruby on Rails every once in a while. It's the easiest click bait, like this one from TNW.Now, you may say "another Ruby fanboy." That's fair, but a terrible argument, as ...