Rails Disco: Get Down with Event Sourcing
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.
- Rails 4.1.4
- Ruby 2.0.1
- Foundation 5
Go Global with Rails and I18n
Create a Ruby Gem for a jQuery Plugin: Advanced
Create a Ruby Gem for a jQuery Plugin: Basics
New Rails Shiny: ActiveJob
Heap Data Structure in Ruby
Understanding SQL Through Rails
Ratyrate: Add Rating to Your Rails App
This tutorial explores how to add rating functionality to a Rails application. It will go through some of the more popular Ruby gems that provide such functionality, as well as how to implement rating from scratch. We will use the same application used in the the Online store article By Karim El Hussieny, in which the basic application creation process is explained in detail. Please refer to that post to learn how Karim scaffolded and styled the basic application.
Increase Engagement with Merit and Gamification
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.
Realtime Mini-Chat with Rails and Faye
Sorting Algorithms in Ruby
Mini-Chat with Rails
Fun Sending Mail on Rails
Integrate Braintree Payments into Rails
All Rubyists Love Logging
Breadcrumbs on Rails with Gretel
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.
Uploading Videos to YouTube with Rails
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.