update rails to work like normal rails app
Merge pull request #16 from toannguyenle/rails

update rails to work like normal rails app