method
entry
v4.2.9 -
Show latest stable
-
0 notes -
Class: ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3 (0)
- 2.1.0 (0)
- 2.2.1 (38)
- 2.3.8 (0)
- 3.0.0 (0)
- 3.0.9 (-4)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (18)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (11)
- 5.1.7 (2)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (0)
- 7.1.3.2 (0)
- 7.1.3.4 (0)
- 7.2.3 (1)
- 8.0.0 (-1)
- 8.1.1 (1)
- What's this?
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.
-
:id: The ID for this entry. Defaults to “tag:#{@view.request.host},#{@feed_options[:schema_date]}:#{record.class}/#{record.id}”
-
:type: The TYPE for this entry. Defaults to “text/html”.

