Update slugger.rb for Rails 4.1 conventions