Building TREEBOOK application using Ruby on Rail