discourse/discourse — pull request #148 by danneu (2013-02-12 23:58:01+00:00)
Title: replace reinvention of #parameterize

I didn't do this before because of the test:

Slug.for("evil#trout").should == "eviltrout"

But if yall can live with this:

Slug.for("evil#trout").should == "evil-trout"`

...then we can drastically simplify the slugger instead of reinventing ActiveSupport's slugger.