Build a Thick Client on Rails