Application template of rails using java crystal reports viewer