This module adds the :reserved_words configuration option to {FriendlyId::Configuration FriendlyId::Configuration}.
Overrides {FriendlyId::Configuration#base} to add a validation to the model class.
# File lib/friendly_id/reserved.rb, line 56 def base=(base) super reserved_words = model_class.friendly_id_config.reserved_words model_class.validates_exclusion_of :friendly_id, :in => reserved_words end
Generated with the Darkfish Rdoc Generator 2.