Ruby on Rails
Monday, October 29, 2018
On Mon, 29 Oct 2018 at 11:54, fugee ohu <fugee279@gmail.com> wrote:
On Monday, October 29, 2018 at 4:48:42 AM UTC-4, Colin Law wrote:On Mon, 29 Oct 2018 at 05:08, fugee ohu <fuge...@gmail.com> wrote:How do I create an image object from a remote image url in rails consoleWhat do you mean by image object?An object returned by Nokogiri as a result of selecting a css.("a") element containing <img src="...">
That doesn't make sense, you ask how to create an image object, then say that an image object is an object returned by nokogiri. So to create it all you have to do is make that request to nokogiri.
Colin
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtKZtrS7Uc5jNDu-Mw1NCp6ciGuf9w2ni-%3D8nbBqP2PxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment