Detect subclasses in Ruby

Dynamically detecting subclasses in Ruby

Ruby type coercions

How to convert between types in Ruby

Ruby procs and collections

Using custom procs in collections

Rack::Cache in Rails 5

Setting up and using Rack::Cache in Rails 5.

ETags and http caching in Rails 5

ETags and http caching in Rails 5

Performing numeric operations in Ruby case statement

Numeric operation in Ruby case statements

Using Ruby Refinements in Rails

Refining NilClass over using try

Custom sorting in Ruby

Sorting with custom attributes in Ruby

Errno::EMFILE with Paperclip

How to resolve Errno::EMFILE when using Paperclip in Rails

CSRF in Sinatra with Padrino

Enable CSRF for form submissions in Sinatra with Padrino form helpers

Rails API Caching

Caching in Rails API and pitfalls to avoid

Setting up SSL with Jekyll using LetsEncrypt

Using LetsEncrypt to generate SSL certs for use with a Jekyll blog.

Using around_save callbacks in ActiveRecord

Using the around_save callback in ActiveRecord models for further processing

Testing Logger in Ruby

A more flexible approach of testing exceptions being logged in Ruby

Closure Table pattern for nested hierarchical data

Using the Closure Table pattern for nested hierarchical data

Handling inputs with different arity in Ruby

A pattern to deal with input arguments of various arity

Using extend in Ruby

Observations of using include and extend in Ruby

Content Security Policy in Rails

Using Content Security Policy in Rails

Running dependent tasks in Ruby with TSort

How to run dependent tasks in Ruby with TSort