Fix the undefined reference to Staleness

Not sure what's going on with Rails' autoloading here, so fix it the
ruby way by using plain ol' `require`
This commit is contained in:
Matt Rogers 2018-11-12 08:55:42 -06:00
parent c19be59ca5
commit c3a13bca16
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,5 @@
require 'staleness'
module TodosHelper module TodosHelper
# === helpers for rendering container # === helpers for rendering container

View file

@ -1,4 +1,5 @@
require 'active_support/all' require 'active_support/all'
require 'user_time'
class Staleness class Staleness
SECONDS_PER_DAY = 86400 SECONDS_PER_DAY = 86400