Ruby
Katrina Owen, Jul 23

Golden Master Testing: Refactoring for Understanding

Use refactoring techniques and Golden Master Testing to strip away cruft and confusion, allowing simple concepts to emerge.
3 COMMENTs
Ruby
Jeremy Walker, Jul 21

Propono: Pub/Sub for Ruby

Use Propono to help separate large Rails applications into a more service-oriented approach by leveraging a publish/subscribe messaging architecture.
4 COMMENTs
Ruby
Manjunath M, Jul 18

Rake: Automate All the Things

Rake is a Make-inspired application written in Ruby and developed by Jim Weirich. Rake is a task management utility that can do just about anything.
Ruby
Dhaivat Pandya, Jul 14

Drawing with Processing and Ruby

1 COMMENT
Ruby
Katrina Owen, Jul 09

Golden Master Testing: Refactor Complicated Views

4 COMMENTs
Ruby
Dhaivat Pandya, Jul 07

Choosing the Right Serialization Format

Compare various serialization formats in Ruby and learn when to choose the right one. Code examples walk through how to test each format, with pros/cons.
Ruby
Islam Wazery, Jul 04

Effective Rails Development with Vim

Learn how to use Vim for efficient and effective Rails development. The article covers plugins and configuration that will make Vim a fantastic Rails IDE.
15 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jul 02

Asynchronous File Uploads in Rails

We'll explore file uploading, such as how to implement asynchronous file uploading with Rails as well as uploading multiple files using AJAX.
1 COMMENT
Ruby
Camilo Reyes, Jun 30

How to Migrate Oracle Data With Ruby

Use Ruby and OCI8 to migrate Oracle data between old and new schemas. This is a real-world use case based on an actual data migration, including pitfalls.
2 COMMENTs
Ruby
Dhaivat Pandya, Jun 26

Elegant Network Communication with RabbitMQ

An entry level tutorial on using RabbitMQ, Bunny, and Ruby for easy and flexible network communication. Learn how to distribute your services effectively.
7 COMMENTs
Ruby
Dhaivat Pandya, Jun 23

Agent: Go-Like Concurrency in Ruby

Go and its goroutines are knows for concurrency. Can we take advantage of similar things in Ruby? Yes! The Agent gem brings go-like concurrency to Ruby.
5 COMMENTs
Ruby
Deepak Kumar, Jun 13

Deploy Rails with Capistrano 3

Capistrano is a remote server automation and deployment tool written in Ruby. It is a tool which extends rake and can be used to deploy any web application
21 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jun 09

Forem - A Rails Forum Engine

A step-by-step tutorial showing how to setup a Rails-based forum web application using the Forem gem. The article walks through the code and gotchas.
4 COMMENTs
Ruby
Benjamin Tan Wei Hao, Jun 02

ZeroMQ with Ruby

ZeroMQ is a network messaging library that provides the building blocks to create complex communication systems with minimal fuss via its simple API. In this article, we set up ZeroMQ on our system and install Ruby bindings. Next, we dive straight into the good bits by implementing 2 messaging patterns – the request-reply and publish-subscribe. At the end of the article, I point to resources where you can learn even more about ZeroMQ.
Ruby
Glenn Goodrich, May 30

Case Study: Upgrade to Rails 4.1

What happens when you upgrade a Rails 3.2 application to Rails 4.1, really? This article walks through the exact changes and issues to get to 4.1.
Ruby
Alexey Ovchinnikov, May 26

Digging with TracePoint

Ruby
Imran Latif, May 19

Sprockets Dissected: Rack and Middleware

In a previous article I explain how asset tags are inserted into HTML by Rails and Sprockets. Inserting asset tags into the HTML is the first step towards serving assets. In this post, I continue the journey, answering the remaining questions:

  • What is /assets and it's purpose?
  • What is ActionDispatch::Static middleware used for?
Ruby
Imran Latif, May 12

Sprockets Dissected: Asset Tags

Sprockets is a Ruby gem that provides asset compilation, asset minification, and asset serving. We will discuss how Rails serves assets using Sprockets.
Ruby
Camilo Reyes, May 09

Crafting Ruby for Performance

In the past, Ruby had a reputation of being a slow programming language. With Ruby 2.0+, this is now a myth. We’ll investigate Ruby’s performance.
7 COMMENTs
Ruby
Jesse Herrick, May 02

Looking at Ruby's Net::HTTP Library

In this article, we’re going to take a look at the Ruby’s Net::HTTP library, focusing on REST API implementation.
3 COMMENTs
Ruby
Ilya Bodrov-Krukowski, May 01

Nested Comments with Rails

This article shows how to implement nested comments in a Rails app with the help of the closure_tree gem.
3 COMMENTs
Ruby
Benjamin Tan Wei Hao, Apr 14

Opal: Ruby in the Browser and the Game of Life

In this article, we will complete Conway's Game of Life using Opal and Ruby. The completed source can be found at the end of the article.
1 COMMENT
Ruby
Fred Heath, Apr 07

Ruby and OpenCalais: Transform Data into Information

This article demonstrates how to use Ruby and OpenCalais tools to transform senseless, unstructured data into sensible, actionable information. OpenCalais and DoverToCalais are works in progress, improving all the time. Coupled with the power and flexibility of Ruby and it’s eco-system, they provide a great tool-set for data mining and analysis.