A hack which makes the HAML parser BEM aware and helps reduce some of the repetitive boilerplate associated with specifying BEM compliant class names in templates.
An introductory tutorial on making event scheduling management more accessible and configurable to administrators through database driven admin interfaces in Rails.
Annotate is a very useful utility for annotating schema information in Rails models. The gem prepends (or appends, as per your configuration) a summarized information about the table schema in each model file as comments) – saving multiple roundtrips to the schema.rb file during coding.
An exploration into the delegation pattern and how it can be useful in various aspects of a Rails application
An exploration into the ruby case statement – an often overlooked but one of the most powerful constructs of the ruby language
Eliminate full page refreshes and reduce page transition latency, in your your Rails sites, using SPF.js – a library for dynamic page updates from Youtube.
While the default form fields of Active Admin are decent for most use cases, there are special cases like JSON data stored in relational databases, for which the built in controls might prove to be inadequate. This post explains how to handle the same.
Strategy pattern is a well known software design pattern. In this post we explore how to apply it in the context of a Rails application.
Devise is an incredibly popular authorization gem for Rails. Unfortunately allowing a user to log in through multiple emails is not as straightforward as one might expect. This post outlines a way to do just that.
Rubyzip is pretty much the defacto solution for manipulating zip files in ruby. However an underdocumented feature of this library is that it allows for creating zip files in memory ie. without actually writing anything to a file.