Class: Binda::Board

Inherits:
ApplicationRecord show all
Extended by:
FriendlyId
Includes:
FieldableAssociations
Defined in:
app/models/binda/board.rb

Instance Method Summary collapse

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