Update default.rb

Remove redundant code