This is a test code based on Ruby on Rails to control arduino.