using ruby to interact with a sencha grid through ajax