view works through ruby