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
Now, appending to_h to files allows me to iterate as expected, but it seems like an inelegant solution, creating a dependency on knowledge of Sawyer. What do you think? What's the right way to do this?
The text was updated successfully, but these errors were encountered:
Let me preface this by saying I'm a r00b and might be missing something obvious, and apologize for wasting your time if that's the case.
I'm building a stream of gists from people I follow, and want to show each gist on this site's homepage.
When I run this...
I get what looks like a hash of hashes:
I'd expect to be able to do something like this:
...but the response is
nil
. I'm guessing this is because...instead of a hash.
Now, appending
to_h
tofiles
allows me to iterate as expected, but it seems like an inelegant solution, creating a dependency on knowledge of Sawyer. What do you think? What's the right way to do this?The text was updated successfully, but these errors were encountered: