Update default.rb

bug fix for create action