demonstration of using in rails views