May 2, 2015 by Daniel P. Clark

Private Module Methods in Ruby

So this is something I’ve looked into many times over the years and have never found an answer to.  But great news is that I’ve found a way! It’s as simple as defining module methods as private within the singleton class.  Here’s how I did it in my gem PolyBelongsTo module PolyBelongsTo::Core extend ActiveSupport::Concern included…

Continue Reading »

January 3, 2015 by Daniel P. Clark

“Empiricism Like This”

No two people are the same.  When learning we have many different ways.  There are auditory learners, visual, and hands on.  Whenever you combine any, or all, of these methods the learning experience will become more vivid and better retained knowledge. In my writings I’ve largely focussed on an exploratory experience.  A more hands on…

Continue Reading »