hangry
hangry copied to clipboard
image_url not working
Hello! Love this gem. I ran through the example in the readme however the parsed recipe object does not have image_url method.
eg. require 'open-uri' require 'hangry' recipe_url = "http://paleoleap.com/lobster-salad-taro-chips/" recipe_html_string = open(recipe_url).read recipe = Hangry.parse(recipe_html_string) image_url = recipe.image_url
I'm on version 0.0.2 When I use the same recipe_url in the demo, the image_url is found. Is it on a different version?
Thanks. John
I think its due to rails 4 compatibility. version 0.0.13 depends on activesupport (~> 3.0) I'm on activesupport (4.2.1)