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

Ruby
Ilya Bodrov-Krukowski, Dec 11

Fun with Robots, Lita, and HipChat

Ruby
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.
Ruby
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.
7 COMMENTs
Ruby
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.
4 COMMENTs
Ruby
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.
14 COMMENTs
Ruby
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.
9 COMMENTs
Ruby
Dhaivat Pandya, Oct 22

LevelDB in Ruby

Learn how to utilize LevelDB, a persistent key-value store, in Ruby. This post will tell you what it is and when it's a good idea to use it.
4 COMMENTs
Ruby
Jesse Herrick, Oct 20

Automatically Reload All the Things with Guard

Use Guard to reload all your changed files automatically in the browser, the test environment, everywhere.
23 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Oct 17

Go Global with Rails and I18n

Take our Rails app global with built-in Rails tool and some optional gems. From static text to user-generated content, your app will be a world traveler.
Ruby
Imran Latif, Oct 15

Create a Ruby Gem for a jQuery Plugin: Advanced

Continuing from a previous post, some more advanced concepts around gem development are covered here, such as Custom Helpers, configuration, and deployment.
6 COMMENTs
Ruby
Imran Latif, Oct 13

Create a Ruby Gem for a jQuery Plugin: Basics

In this post, we will create a gem from scratch. When done, you'll have a gem that can pull in a jQuery plugin.
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.
2 COMMENTs
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.

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.
1 COMMENT
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.
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.
1 COMMENT
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.

Ruby
Ahmed Refaat Tawfik, 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.
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.
Ruby
Dhaivat Pandya, Jul 14

Drawing with Processing and Ruby