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.
Karim El Husseiny, Aug 01

Build an Online Store with Rails

Learn to create an online store from scratch using Rails, Redis, and Foundation.
Katrina Owen, Jul 30

Golden Master Testing: More Refactoring, More Understanding

Continue relying on the Golden Master technique while refactoring our legacy code base. The process flushes out more hidden concepts, setting up a win.
Dhaivat Pandya, Jul 28

Dynamic Programming with Ruby

This article will give you a taste of an algorithm technique called "dynamic programming", exploring two different problems, presenting solutions in Ruby.
Jesse Herrick, Jul 26

The History of Ruby

Ruby has grown from a young child to the strong adult that it is today. Let's take a look at the life of the Ruby programming language.
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.
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.
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.
Katrina Owen, Jul 16

Golden Master Testing: Controller Refactoring

This article continues using the Golden Master technique to test and refactor a complicated Rails controller.
Dhaivat Pandya, Jul 14

Drawing with Processing and Ruby