Class: PublishedElement
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PublishedElement
- Defined in:
- app/models/published_element.rb
Instance Method Summary collapse
Instance Method Details
#published_by_username ⇒ Object
8 9 10 |
# File 'app/models/published_element.rb', line 8 def published_by_username self.published_by.username rescue '' end |