Ruby
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.
Ruby
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.

2 COMMENTs
Ruby
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.

22 COMMENTs
Ruby
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.
19 COMMENTs
Ruby
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.

Ruby
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.
Ruby
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."
2 COMMENTs
Ruby
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.
45 COMMENTs
Ruby
Karim El Husseiny, Aug 01

Build an Online Store with Rails

Learn to create an online store from scratch using Rails, Redis, and Foundation.
Ruby
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.
13 COMMENTs
Ruby
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.
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.
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.
1 COMMENT
Ruby
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.
Ruby
Dhaivat Pandya, Jul 14

Drawing with Processing and Ruby

2 COMMENTs
Ruby
Arne Brasseur, Jul 11

Customizing Trello with Ruby

Customize Trello with the Trello API and Ruby. Create card counts, customized list headers, and take your Trello collaboration to the next level.
1 COMMENT
Ruby
Katrina Owen, Jul 09

Golden Master Testing: Refactor Complicated Views

3 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.