4 COMMENTs
Ruby
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.
Ruby
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.
3 COMMENTs
Ruby
Bakir Jusufbegovic, Sep 29

Write Modular RSpec

Learn how to make your RSpec more modular and reusable by sharing code and contexts between specs.
4 COMMENTs
Ruby
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.
Ruby
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.
1 COMMENT
Ruby
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.

1 COMMENT
Ruby
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.
37 COMMENTs
Ruby
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.
2 COMMENTs
Ruby
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.
4 COMMENTs
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.
29 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Sep 08

Mini-Chat with Rails

Make a fully asynchronous commenting system with Rails in this two-part tutorial.
7 COMMENTs
Ruby
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.
Ruby
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.
5 COMMENTs
Ruby
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.
Ruby
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.
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.
18 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.