Module: HasWikiPageSlugAttributes
- Extended by:
- ActiveSupport::Concern
- Included in:
- WikiPage::Slug
- Defined in:
- app/models/concerns/has_wiki_page_slug_attributes.rb
Class Method Summary collapse
Class Method Details
.update_all(attrs = {}) ⇒ Object
22 23 24 |
# File 'app/models/concerns/has_wiki_page_slug_attributes.rb', line 22 def self.update_all(attrs = {}) super(attrs.reverse_merge(updated_at: Time.current.utc)) end |