entry(record, options = {})
public

Creates an entry tag for a specific record and prefills the id using class and id.

Options:

  • :published: Time first published. Defaults to the created_at attribute on the record if one such exists.
  • :updated: Time of update. Defaults to the updated_at attribute on the record if one such exists.
  • :url: The URL for this entry. Defaults to the polymorphic_url for the record.