You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
I'm trying to pull 3 posts from tumblr Tumblr::Post.all(:num => 3, :filter => 'text'). When I have 2 published posts on tumblr, no problem. But when I had only one published post, the gem was giving me a multi-dimensional array instead of a hash of my posts, i.e. post.inspect looks like this:
Thus when I try to grab any value post['date'], I get a can't convert String into Integer as my posts object is now looking for an array index and not a hash key.
I just wanted to make this an known issue in case someone else runs into this error. It may be the same issue as #3, but it doesn't appear to be so. If I have some time, I'll try to look into it more in the next few weeks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to pull 3 posts from tumblr
Tumblr::Post.all(:num => 3, :filter => 'text')
. When I have 2 published posts on tumblr, no problem. But when I had only one published post, the gem was giving me a multi-dimensional array instead of a hash of my posts, i.e. post.inspect looks like this:[["slug", "getting-started-and-building-momentum"], ["unix_timestamp", "1274706900"], ..
Thus when I try to grab any value
post['date']
, I get acan't convert String into Integer
as my posts object is now looking for an array index and not a hash key.I just wanted to make this an known issue in case someone else runs into this error. It may be the same issue as #3, but it doesn't appear to be so. If I have some time, I'll try to look into it more in the next few weeks.
The text was updated successfully, but these errors were encountered: