13 14 15 16 17 18
# File 'lib/lean_tag/tag.rb', line 13 def name=(value) if value.present? self[:name] = value.gsub(/[^0-9a-zA-Z]+/, "") self[:name] = self[:name].downcase if LeanTag.config.force_lowercase end end