invoice generator in rails