def camel_cased_to_dasherized(camel_cased_word)
      word = camel_cased_word.to_s.dup
      word.gsub!(/([A-Z\d]+)([A-Z][a-z])/,'\1-\2')
      word.gsub!(/([a-z\d])([A-Z])/,'\1-\2')
      word.downcase!
      word
    end
def camel_cased_to_dasherized(camel_cased_word)
      word = camel_cased_word.to_s.dup
      word.gsub!(/([A-Z\d]+)([A-Z][a-z])/,'\1-\2')
      word.gsub!(/([a-z\d])([A-Z])/,'\1-\2')
      word.downcase!
      word
    end
[active_support/inflector/methods]