fix validate
Merge branch 'develop' of github.com:wxluckly/rails3_extjs4 into develop