Module: Concerns::Models::Slug
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/kirgudu_common/concerns/models/slug.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#normalize_slug ⇒ Object
INSTANCE METHODS ###############################.
Instance Method Details
#normalize_slug ⇒ Object
INSTANCE METHODS ###############################
28 29 30 |
# File 'app/models/kirgudu_common/concerns/models/slug.rb', line 28 def normalize_slug self.slug = self.slug.downcase.strip if self.slug end |