<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% default_message = local_assigns[:default_message] || t("global.never") %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <% if object.public_send(attribute) %> <%= t("global.time_ago", time: time_ago_in_words(object.send(attribute))) %> <% else %> <%= default_message %> <% end %> <% end %>