Basic Search Using Ransack
Implementing proper search is a must for most applications. Fortunately, thanks to Ransack, you can easily add search to your application. In this article, we will show you how to implement search in your Rails application.
Background Tasks With Rufus Scheduler
Rufus-Scheduler is a handy gem that allows you to perform background jobs. Rufus-Scheduler is unique in that it runs in-process and requires no help from outside tools such as cron or database engines. In this article we will show you how to use rufus-scheduler in your Rails applications. Let's get started!
Incredibly fast web apps
Top 8 tools for Ruby on Rails code optimization and cleanup
Keeping your code clean and organized while developing a large Rails application can be quite a challenge, even for an experienced developer. Fortunately, there is a whole category of gems that make this job much easier.
Form Objects and Rails' Form Builders
"Convention over configuration". This mantra is a cornerstone of Rails and a large reason it's so enjoyable to use. Adhering to Rails' sensible defaults is often the right decision when working with the framework, but at times you may be served best by trying something a little different.
Increase Your Rails Application Reporting Speed by 10x with Sunspot's Stored Values
In my previous post I introduced Solr and Sunspot along with a basic use case to get up and running with Rails. Here, I’ll dive in to what originally brought me to Sunspot, stored attributes.
Get Your Data to Glass 180x Quicker: How to Setup Clusterize.js with Rails and Coffeescript
Here’s the situation: Your amazing developer team has rocked your world with caching and other optimizations to get data from your client’s Rails server over to the users’ browsers.
Making a Rails Health Check that doesn't hit the database
In a production application you usually have many servers, and each of those servers gets checked periodically to make sure they're still healthy and working as expected. When they are, requests can be routed at them by your load balancer.
How to Reduce Controller Bloat with Interactors in Ruby
Let's consider a hypothetical situation — You've been working on a Rails application for about a year. When the application was new and its functionality limited, you could add features relatively simply by spinning up a new controller, model and view or — worst case — add a few lines to an existing controller, model or view.
Interview With Ruby on Rails Creator David Heinemeier Hansson
I've been all Mac since about 2002, I believe. I use a 5K iMac on my desk and a Macbook for travel. For editor, I'm on TextMate 2. I only just switched from TextMate 1.5 a few months ago when an OS X update broke something in it. That editor was just perfect for me.