Rails Model Caching with Redis
Model level caching is something that's often ignored, even by seasoned developers. Much of it's due to the misconception that, when you cache the views, you don't need to cache at the lower levels. While it's true that much of a bottleneck in the Rails world lies in the View layer, that's not always the case.
Lower level caches are very flexible and can work anywhere in the application. In this tutorial, I'll demonstrate how to cache your models with Redis.
Tokaido: Quick Start with Rails
Ruby on Medicine: Converting DICOM to JPG
Messaging with Rails and Mailboxer
A Peek at Ruby in 2015
What Editor Do Rubyists Use?
Chruby and Rbenv Tips and Tricks
Rbenv and chruby are the cool kids on the block now. Obviously, we want the most we can get out of our favorite tools. So this article isn't about which one to like more, nor is it an introduction to either version manager. Instead, we're going to cover some advanced rbenv and chruby usage to maximize your productivity.
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.
Fun with Robots, Lita, and HipChat
All I Want for Christmas: Rails 4 Test Prescriptions
Semi-Relational Data Modeling with Redis and Ohm
RailsBricks: Start Faster with Rails
The Syntax of Taste: Refactoring Conditionals
Unraveling String Key Performance in Ruby 2.2
Mini-chat with Rails and Server-Sent Events
Delayed Job Best Practices
Clojure Loops in Ruby
Polling Your Users with Rails
How to Set Up Continuous Deployment with Ninefold
The Ruby Ecosystem for New Rubyists
Rails Disco: Get Down with Event Sourcing
Build Great APIS with Grape
Increase Productivity with Komodo: an Extensible, Multi-language IDE
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