added if statement to prevent no method error
added "less than a minute ago"
updated schema to set default for created_at