I just setup params and get functions in my rails controller, testing with the phone