Skip to content

Instantly share code, notes, and snippets.

View cintamani's full-sized avatar

cintamani cintamani

  • Medify.co.uk
  • Bristol
View GitHub Profile
# This is a workaround for the rails issue described in
# https://github.com/rails/rails/issues/17368. If you use this,
# make sure you understand its code and what it does and what it
# doesn't.
#
# See below for an example.
# lib/lazy_ids.rb (i.e.)
module LazyIds
extend ActiveSupport::Concern