How to Recover From Rails Database Schema Conflicts When Rebasing
The issue occurs when both develop and your branch contain migrations, leading to conflicts in the schema file - at least one conflict over the ‘versio.
Fixing XXE Vulnerabilities in Nokogiri
We recently added a pair of high-severity XML External Entities (XXE) vulnerabilities found in the Nokogiri library to our vulnerability database. This.
How to Add a Slack Notifier with Slack-Notifier and Sidekiq
Time to add in a custom incoming webhook in Slack. Incoming Webhooks are a simple way to post messages from external sources into Slack. They make use .
An alternate approach to Avdi’s method of slimming down Rails controllers
While being amazed by Avdi’s refactoring skills and watching him plug in proven software development patterns, I couldn’t help but think about how I wo.
Slim down hefty Rails controllers AND models, using domain model events (video and guide)
If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done..
March 2017 Monthly Update - Ruby Together
On the whole, this month was pretty quiet. We filed our taxes, worked on some plans for the future, and continued to pay for developer hours to maintai.
Learn Rails 5.1 (Part 1) 1, Stefan Wintermeyer, eBook
A step by step guide to learn Ruby on Rails 5.1. It includes a basic tutorial for Ruby 2.4 and is written for programmers who know at least one other p.
Makers Academy’s Alexa Series: How to Implement Sessions in an Alexa Skill in Ruby
If we leave it open, the user has eight seconds to respond and continue the conversation. If there is no reply after eight seconds, Alexa will provide .
Improve your Ruby application's memory usage and performance with jemalloc
Ruby applications usually have a fairly large memory footprint, which can increase steadily, even if the garbage collector comes into action. Your appl.
Resilience in Ruby: Handling Failure
For the second half of 2014 and 2015, most of my time at GitHub was spent working on moving the notifications feature off the primary MySQL cluster on .