class TimeagoStub include Rails::Timeago::Helper def time_tag(time, content, options = {}) options = options.map { |k,v| "#{k}=\"#{v}\""} "" end def time_ago_in_words(time) "%time_ago_in_words%" end end