add require error test
update rails sample
Mergebranch 'master' of github.com:ben-lin/sandbox