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.
40 COMMENTs
Ruby
Nouran Mahmoud, Oct 27

Tagging from Scratch in Rails

Tags are sort of like categories, describing a piece of information (content) and allowing to the user to search for it again. In this tutorial, you will see how to build a simple tagging system, from the ground up, in Rails.

This tutorial assumes a basic knowledge with Ruby on Rails. I'll try to keep it simple as much as possible.

A common use of tags, which we all already know, is by Twitter to collect tweets around a certain topic related to the (hash)tag.

Tools

  • Rails 4.1.4
  • Ruby 2.0.1
  • Foundation 5
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.
Ruby
Kyle Szives, Oct 10

New Rails Shiny: ActiveJob

One of the highly anticipated feature of Rails 4.2 is the introduction of the Active Job library. Checkout ActionMailer, GlobalID, and more.
5 COMMENTs
Ruby
Dhaivat Pandya, Oct 06

Heap Data Structure in Ruby

In this article, we'll cover the "heap" data structure along with some of the associated algorithms in Ruby.
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.
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.

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

24 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.
21 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
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.
50 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.