Subscribe to the iTunes Rails Screencast Feed Now!

Episode 25

JSONlite by Justin Keller

A simple, self-contained, serverless, zero-configuration, json document store. JSONlite sandboxes the current working directory similar to SQLite. The JSONlite data directory is named by default, and each json document is saved pretty printed as a uuid. Checkout the home page of this open source project to learn how to use it.This is written in Python. It would be nice to develop a Ruby gem that has the same functionality. It should be easier to setup and use

Host Your Rails 5 Apps for Just $5 per Month by Linode

Linode has introduced Linode 1GB plan for just $5 per month. Now I can start deploying my next Rails 5 app using Ansible on Linode now.

ORM: We Approve by Danny Whalen

Few years ago, I got a coding exercise for a Rails contract work. It consisted of baseball statistics and heavy SQL query for reports generation. The requirements stated that I need to use TDD. It seemed very stupid assignment. I never had a good answer for this problem. Folks at Remix have found a unique way to solve this problem. This article uses the concept of Golden Master to create approval tests for SQL heavy Rails apps.

Using HdrHistogram with Ruby by Peter Schuck

HdrHistogram is a fast and lightweight tool to record a histogram of your applications performance. This article show how to use this gem and discusses the benefits, the concept of coordinated omission and fixing coordinated omission with hdrhistogram.

Handling request cache in Ruby by Guilherme Garnier

Handling HTTP cache is one of the most important aspects when you need to scale a web application. The performance cache is meant to avoid a flood of unnecessary requests to a single resource in a short period of time. This article discussed about stale cache and implementing cache levels in Ruby.

Reading Ruby Code by Michael Cordell

This article series is about how to read code if you are interested in contributing to open source projects. It uses ROM - A Data mapping and persistence toolkit for Ruby as an example project.

Vagrant up your Rails development by TIANWEN CHEN

We've come a long way with web development technologies. To the point where developing on a virtual machine is now a realistic option as the performance issues that once plagued VMs have all but been eradicated. As the sole VM management tool, Vagrant utilises several virtualisation tools (VirtualBox, VMware, etc.) and provides a whole host of benefits. It makes your development environment as close as production as possible and it takes away the excuse of It works on my computer. If you need to work on different projects, you will appreciate not having your machine messed up by different setups. Here I will show you a simple example of spinning up a Rails project using Vagrant.

Faker Gem by Benjamin Curtis

This gem is a port of Perl's Data::Faker library that generates fake data. It comes in very handy for taking screenshots, having real-looking test data, and having your database populated with more than one or two records while you're doing development.

Tips to scaling your database by Starr Horne

When you're working on a young project you're constantly making decisions that will make it either easier or harder to scale later. Sometimes it's good to pick the short-term gain, to accrue a bit of technical debt so you can ship faster. But other times we pick up technical debt because we didn't know there was an alternative. The three tips talks about using UUIDs, counts and counters, expiring and warehousing.