Blogs
Using the scikit-learn machine learning library in Ruby using PyCall
Scikit-learn is a set of simple and efficient tools for machine learning and artificial intelligence built with NumPy and SciPy in Python. This tutorial will walk you through how you can use these tools from Ruby using a gem called PyCall. PyCall ...
That time I wrote a query with chained ruby methods weighing in at 41 lines and 2844 chars
First things first, I REFACTORED THIS NASTY MESS! And this is focused on how I got into the mess and some of the first things I did to addressed it.In my opinion Ruby is great and Rails is amazing. They make me a happy programmer and pretty produc...
Rails on Docker: Using Docker Compose with Your Ruby on Rails Apps
In the previous tutorial, you learned how to get a simple Ruby on Rails app up and running on Docker containers.As you work on your app, it often becomes difficult (and tiresome) to remember all the different configurations and arguments you need ...
Using Atomic Transactions to Power an Idempotent API
The software industry as a whole contains a lot of people doing a lot of different things, but for every developer working on new embedded firmware, there’s about ten building the linchpin of modern software – CRUD apps that serve requests over HT...
Rails Best Practice — Persisting Addresses in PostgreSQL
Application planning is a crucial and often overlooked step in building successful web applications. The Rails framework makes it so easy to create and bootstrap an application that it’s tempting for developers to skip planning and jump right to d...