Class: Pulitzer::Style
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Pulitzer::Style
- Defined in:
- app/models/pulitzer/style.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
assoc_name, attrs_name, convert_hash_to_nested, convert_nested_assoc
Instance Method Details
#first? ⇒ Boolean
7 8 9 |
# File 'app/models/pulitzer/style.rb', line 7 def first? post_type_content_element_type.first_style.id == id end |