ruby on rails - how pass png image generated in controller to a view? -
i display image (png) generated in controller, not saved in file. possible pass such generated image info view? did bit of googling, not found on idea. similar solution provided here: invalid encoding rqrcode, saving image in temporary file , assigning back, trying avoid step.
i tried utilize send_data disposition: 'inline' stuck how utilize object in view code.
take @ info uris. might solve you're looking for.
the wikipedia article has illustration pngs.
ruby-on-rails
No comments:
Post a Comment