I had to change line 19 to: ``` named_scope :to_run, :conditions => "strftime('%s',current_timestamp) > strftime('%s',COALESCE(last_run, '1970-01-01')) + period" ```
I had to change line 19 to: