Class: Binda::Board
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Binda::Board
- Extended by:
- FriendlyId
- Includes:
- FieldableAssociations
- Defined in:
- app/models/binda/board.rb
Instance Method Summary collapse
-
#should_generate_new_friendly_id? ⇒ Boolean
Friendly id preference on slug generation.
Methods included from FieldableAssociations
#find_or_create_a_field_by, #generate_fields
Instance Method Details
#should_generate_new_friendly_id? ⇒ Boolean
Friendly id preference on slug generation
Method inherited from friendly id
19 20 21 |
# File 'app/models/binda/board.rb', line 19 def should_generate_new_friendly_id? slug.blank? end |