Update app.rb

get put delete,id should convert to int.
Merge pull request #3 from iamdaiyuan/master

Update app.rb