» Quick: Find the Bug or Gotcha with named_scope
Think fast! Where’s the bug?
named_scope :active, :conditions => [“activated_at <= ?”, DateTime.now.utc.to_s(:db)]
Looks fine, right? Maybe you’ve hit this already, and…