Dhaivat Pandya, Jan 22

Rails URL Helpers in Javascript with JsRoutes

Use the JsRoutes gem to get Rails URL helper in your javascript code. No more hardcoding URLs on the client, FTW!
Richard Schneeman, Jan 19

Symbol GC in Ruby 2.2

What is symbol GC and why should you care? Ruby 2.2 was just released and, in addition to incremental GC, one of the other big features is Symbol GC. If you've been around the Ruby landscape, you've heard the term "symbol DoS". A symbol denial of service attack occurs when a system creates so many symbols that it runs out of memory. This is because, prior to Ruby 2.2, symbols lived forever. For example in Ruby 2.1:

Vasu K, Jan 15

Rails Model Caching with Redis

Model level caching is something that's often ignored, even by seasoned developers. Much of it's due to the misconception that, when you cache the views, you don't need to cache at the lower levels. While it's true that much of a bottleneck in the Rails world lies in the View layer, that's not always the case.

Lower level caches are very flexible and can work anywhere in the application. In this tutorial, I'll demonstrate how to cache your models with Redis.

Dhaivat Pandya, Jan 14

Tokaido: Quick Start with Rails

Dhaivat Pandya explores Tokaido, an application aimed at making getting started with Rails on the Mac much, much easier.
Abder-Rahman Ali, Jan 12

Ruby on Medicine: Converting DICOM to JPG

This article is the first article in the Ruby on Medicine (RoM) series focused on how Ruby can be applied to the medical domain.
Ilya Bodrov-Krukowski, Jan 08

Messaging with Rails and Mailboxer

Mailboxer is a Rails gem that is a generic messaging system that handles conversations with one or more recipients and sends notifications via email.
Glenn Goodrich, Dec 29

A Peek at Ruby in 2015

A peek at what 2015 has in store for Ruby and its community.
Abder-Rahman Ali, Dec 22

What Editor Do Rubyists Use?

Abder-Rahman Ali interviews 100 Rubyists to find out what editor they use and which is the most popular.
Jesse Herrick, Dec 18

Chruby and Rbenv Tips and Tricks


Rbenv and chruby are the cool kids on the block now. Obviously, we want the most we can get out of our favorite tools. So this article isn't about which one to like more, nor is it an introduction to either version manager. Instead, we're going to cover some advanced rbenv and chruby usage to maximize your productivity.

Islam Wazery, Dec 15

Advanced Search with Ransack

In this tutorial we will explore how to add complex search functionality into your Rails application. This task will be made easier by the awesome Ransack Ruby gem. Ransack provides excellent helpers and builders for handling advanced searches on your models. It has some really powerful features available out of the box without writing a lot of code, such as sorting or conditional search.

Ilya Bodrov-Krukowski, Dec 11

Fun with Robots, Lita, and HipChat

James Hibbard, Dec 09

All I Want for Christmas: Rails 4 Test Prescriptions

As part of our Christmas giveaway series, James Hibbard took a look at test-driven design book Rails 4 Test Prescriptions — and we have a copy to give away.
Fred Heath, Dec 08

Semi-Relational Data Modeling with Redis and Ohm

Learn how to use the speed of Redis and the abstraction of the Ohm gem to treat your key-value data as relational objects.
Glenn Goodrich, Dec 04

RailsBricks: Start Faster with Rails

A detailed dive into RailsBricks, a gem that generates complete Rails applications. RailsBricks takes care of authentications, email, config, and more.
Katrina Owen, Dec 01

The Syntax of Taste: Refactoring Conditionals

Conditionals aren't bad, but they sure do have a tendency to proliferate. Here we'll look at a conditional and how to gain a small measure of control
Richard Schneeman, Nov 24

Unraveling String Key Performance in Ruby 2.2

Richard Schneeman digs out how hashes allocates string keys and how Ruby 2.2 makes this much, much better.
Ilya Bodrov-Krukowski, Nov 20

Mini-chat with Rails and Server-Sent Events

Ilya Bodrov takes a look at using Rails and HTML5 Server-Sent Events to create a web-based, real time, mini-chat application.
Panayotis Matsinopoulos, Nov 17

Delayed Job Best Practices

In this article, I'll cover some of the best practices and tips I apply at work when working with Delayed Job.
Aaron Lasseigne, Nov 13

Clojure Loops in Ruby

Feeling inspired I decided to port this new Clojure loop into Ruby. I settled on using continuations, a little known Ruby feature, to make it all work.
Ilya Bodrov-Krukowski, Nov 10

Polling Your Users with Rails

In this article, I am going to show you how to build a web app that allows authenticated users to create, manage, and participate in polls using Rails.
Glenn Goodrich, Nov 06

How to Set Up Continuous Deployment with Ninefold

Ruby editor Glenn Goodrich walks us through how to set up a continuous deployment system with Ninefold and Codeship.
Robert Qualls, Nov 06

The Ruby Ecosystem for New Rubyists

Ruby is more than just a language. It has a universe of tools and processes supporting the creation of the complex software it makes. This can be overwhelming to newcomers, so I've put together an article that will hopefully make things a little more clear.
Glenn Goodrich, Nov 03

Rails Disco: Get Down with Event Sourcing

Get down with Event Sourcing basics using the rails-disco gem. Event Sourcing can save your future data life, and this post will show you how.
Jay Raj, Oct 30

Build Great APIS with Grape

Build maintainable APIs with Ruby and Grape. This post walks through the basics of Grape, how to host a Grape API inside Rails, and more.