You are viewing a single comment's thread from:
RE: How to Find Hidden Gems with Ruby
Hey mate, sorry for gravedigging.
I have followed your tutorial and got rid of some errors (ffi make was buggy and so on). Now its seems to work, but after 3-5 sec i wont get a result and no error. Any idea?
Yep, I think there's a mistake in that script that nobody ever noticed.
Should be:
You can use this to do the same thing instead:
http://steem-ganymede.herokuapp.com/discussions?vote_ready=true
The code for that is here, which is correct:
https://github.com/steem-third-party/ganymede/blob/master/app/controllers/discussions_controller.rb#L176
Worked flawless now =) Thank you, couldnt find the error. Alright, seems like my customizing works somehow. Can you explain me this part with the argv?:
options[:tag] = @ARGV if ARGV.any?
I m trying to wrap my head around ruby as a begginer, buts its kinda hard. Thank you for all your effort with your tutorials. They help me a lot :D
There's a typo too. It should be:
The
ARGVconstant is created by the ruby interpreter and just gives you access to the parameters passed when you launch. So, once you apply that fix, this command will work:And that will narrow down the query to the
dmaniatag.Got that, makes sense now.
Will try it at home. You received a quest reward via memo ;)
Edit: WORKED!