Using rails server and sending the stuff