pfaffman
(Jay Pfaffman)
7
It’s taken me another several hours, but here’s why–the process_topic function handles all of those default values.
I guess there should be a
topic[:pinned_globally] ||= false
or maybe
topic[:pinned_globally] ||= topic[:pinned_at].nil?