Camilo Reyes, Oct 03

Understanding SQL Through Rails

The world of RDBMS and SQL can be confusing to a new developer. Rails offers tools and frameworks that make understanding the world of SQL much easier.
David Copeland, Oct 01

What You Don’t Get With ActiveJob

ActiveJob is a unified API for queuing and writing background jobs. But it is what ActiveJob doesn't give you that is important: resiliency.
Bakir Jusufbegovic, Sep 29

Write Modular RSpec

Learn how to make your RSpec more modular and reusable by sharing code and contexts between specs.
Manu Ajith, Sep 24

Increase Engagement with Merit and Gamification

Add gamfication to your Rails app with the Merit gem. Badges, points, and rankings are all covered by this detailed walkthrough.
Brian Knapp, Sep 22

Ruby Benchmarking Lessons Learned

After finishing work on the stunningly comprehensive Ruby Web Benchmark, Brian Knapp explains what the process taught him. Very interesting.
Benjamin Tan Wei Hao, Sep 19

Testing Page Objects with SitePrism

In this article, I am going to talk about SitePrism, a testing tool that I have recently learned about and been enjoying. Here is a description of SitePrism from its' creators:

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for use with Capybara in automated acceptance testing.

Before we go into SitePrism, let's talk about page objects, because page objects are central to understanding the philosophy behind SitePrism.

Arne Brasseur, Sep 17

Functional Programming: Pure Functions

In the second of a two-part series on Functional Programming, learn about Pure and Composable functions, the benefits and tactics therein.
Ilya Bodrov-Krukowski, Sep 15

Realtime Mini-Chat with Rails and Faye

In the second part of a two-part series, prototype AJAX polling vs Faye/web sockets to implement a real time chat application in Rails.
Dhaivat Pandya, Sep 12

Sorting Algorithms in Ruby

The point of understanding sorting algorithms has very little to do with the actual act of sorting. Rather, the different algorithms are great examples of various techniques that can be applied to large set of problems. In this article, we'll take a look at some of these algorithms and the underlying ideas, as well as implementations in Ruby.
Arne Brasseur, Sep 10

Functional Programming in Ruby: Value Objects

As Rubyists, what do we make of Functional Programming? Learn about Value Objects and decide for yourself.
Ilya Bodrov-Krukowski, Sep 08

Mini-Chat with Rails

Make a fully asynchronous commenting system with Rails in this two-part tutorial.
Glenn Goodrich, Sep 04

Fun Sending Mail on Rails

Learn all about sending email with Rails. This article covers the basics, some next level items, service to consider, and gems that help out.
Karim El Husseiny, Sep 01

Integrate Braintree Payments into Rails

Integrate Braintree payments into an existing Rails application. This post follows up a previous tutorial that built a store that sells movies.
David Lyons, Aug 28

All Rubyists Love Logging

Learn the basics of the Logger class in the Ruby Standard Library. All apps, not just Rails apps, should use logging to communicate status and errors.
Ilya Bodrov-Krukowski, Aug 25

Breadcrumbs on Rails with Gretel

Create a demo app with breadcrumbs using a gem called Gretel. The demo shows how breadcrumbs can be styled, customized, and scaled for large websites.
João M. D. Moura, Aug 21

Stress Testing with Loader.io

Learn about stress testing your web application with Loader.io. The Loader.io service is designed to allow easy creation of stress tests with clear results.
Bakir Jusufbegovic, Aug 18

The Basics of Capybara and Improving Your Tests

Capybara is a web-based automation framework used for creating functional tests that simulate how users would interact with your application. Today, there are many alternatives for web-based automation tools, such as Selenium, Watir, Capybara, etc. All of these tools have the same purpose, but there are slight differences that make each of them more or less suitable.

The main characteristic that developers are aiming for is the ability to have tests that are modular, easy to write, and easy to maintain. This is especially true in Agile/TDD environments where writing tests is second nature. These tests are expected to give good and fast feedback on code quality. As time goes by, the number of tests grows and it can be a real nightmare to maintain the tests, especially when the tests are not modular and simple enough.

In this tutorial, I will describe some of Capybara key features and explain why it could be your tool of choice for developing web-based automated tests.

Nouran Mahmoud, Aug 15

Use Google Maps with Rails

Maps are the way to navigate the world. They give the ability to inspect every single location on Earth, opening the way to services like routing and soil composition. In this article, I will go through the Google Maps API (and some alternatives) and integrate it with Rails.

Ilya Bodrov-Krukowski, Aug 13

Uploading Videos to YouTube with Rails

Learn how to use Rails and the YouTube API to allow users to upload their videos directly to YouTube.
Mostafa Abdulhamid, Aug 11

Full-Text Search in Rails with ElasticSearch

In this article you will learn how to integrate ElasticSearch into a Rails application.

What is Full Text Search?

A full-text search engine examines all of the words in every stored document as it tries to match search criteria (text specified by a user) wikipedia. For example, if you want to find articles that talk about Rails, you might search using the term "rails". If you don't have a special indexing technique, it means fully scanning all records to find matches, which will be extremely inefficient. One way to solve this is an "inverted index" that maps the words in the content of all records to its location in the database.

Ahmd Refat, Aug 08

Ruby Social Gems: Github

This is the fourth installment in a series about Ruby Social Gems and Rails integration. This post focuses on OmniAuth and the Octokit gem for Github.
Katrina Owen, Aug 06

Golden Master: Discovering Abstractions

In the final article, we have a new class a part of abstraction discovery. It is a nice win to "a long slog through controllers, helper methods, etc."
Dhaivat Pandya, Aug 04

Machine Learning: Ruby and the Naive Bayes Theorem

Explore Machine Learning in Ruby by digging into the Naive Bayes Theorem. This brief foray into some big-time math has large payoffs for all developers.