Class: Thredded::MessageboardGroup
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Thredded::MessageboardGroup
- Defined in:
- app/models/thredded/messageboard_group.rb
Instance Method Summary collapse
Instance Method Details
#ensure_position ⇒ Object
15 16 17 |
# File 'app/models/thredded/messageboard_group.rb', line 15 def ensure_position self.position ||= Time.zone.now.to_i end |