20

A moderator deleted my answer:

You cannot yield two blocks in a method.

But you can take two procs.

    def by_two(n, a, pr1, pr2)
      pr1.call(n)
      pr2.call(a)
    end
    by_two(10, 300, proc1, proc2)

to this question and converted it into a comment. How could the question have been answered without being deleted?

8
  • 11
    I think the more puzzling question is why the answer got flagged. Moderators are community experts, not Ruby experts, but the person who flagged the answer obviously has some sort of interest in Ruby, otherwise she wouldn't have read the question and answer in the first place. And the answer is so obviously correct to anyone with even the slightest knowledge of Ruby that I simply don't understand how someone could flag it. Commented Apr 21, 2014 at 12:34
  • 7
    In the meantime, your post has been undeleted. Commented Apr 21, 2014 at 13:51
  • Glad to know that.
    – sawa
    Commented Apr 21, 2014 at 13:57
  • 5
    I see so many good answers been either wrongly flagged or deleted that I simply do not know if those "expert" is actually experts at all and how did they get so many points that one should spent day by day to opening and answering questions without launch break -- even then it would not be enough..
    – All Blond
    Commented Apr 21, 2014 at 16:02
  • 3
    @AllBlond there are a lot of people here, who answered questions like how to find substring in a string, or other simple oneliners which could be found by anyone reading documentation. Commented Apr 21, 2014 at 19:17
  • 1
    I am not talking about sub string and strings. friend of mine use to have here account which was flagged for reason I still do not know.And I looked through his questions and some of his answers he gave, maybe because not to many people even heard about CMS he was talking and asking questions. So what, if you did not heard about something is that a good reason to flag someone? And by the way if Salvador would be alive he would never ask that kind of questions.
    – All Blond
    Commented Apr 21, 2014 at 20:21
  • @JörgWMittag, it may have got flagged var one of the review queue by someone that does not know ruby. Commented Apr 23, 2014 at 12:03
  • 4
    @AllBlond Don't you mean your old account not your friends? stackoverflow.com dead or just to much to handle?. May be it's more to do with the way you ask questions, that is if your answers and comments are anything to go by.
    – user692942
    Commented Apr 26, 2014 at 11:57

1 Answer 1

22

Bohemian must've missed that you edited your post after it was flagged by someone as not an answer. An honest mistake.

Simply flag your post, use 'other' and ask for it to be undeleted (nicely). Explain that your answer was initially just one sentence but has since been edited to be a full answer.

19
  • 4
    My edit does not affect its status as an answer. The answer was given in the original post. The edit was additional information.
    – sawa
    Commented Apr 21, 2014 at 10:21
  • 5
    @sawa: Someone thought it was not an answer but a comment and flagged it as such; Bohemian would not have acted on your post without such a flag. Explaining that you edited the post helps moderators when assessing the situation. Commented Apr 21, 2014 at 10:23
  • 9
    I appreciate your information regarding what happened. I am not doubting that. But I should not need to, and will not, explain that to the moderators.
    – sawa
    Commented Apr 21, 2014 at 10:25
  • Was it deleted before you finished editing or something weird like that? Commented Apr 21, 2014 at 10:31
  • 3
    @OneKitten: no, it was deleted 13 minutes after the last edit. That edit was made after slightly over 5 minutes from posting the initial revision. Commented Apr 21, 2014 at 10:33
  • 3
    If he had the answer list open prior to the edit in the mod tools, he very well could have been looking at the older version. Tough one, either way. The question is kinda NARQ as "you can't do that" is the real answer :/
    – user1228
    Commented Apr 21, 2014 at 11:37
  • 8
    @sawa It's probably an honest mistake. Just point it out and have it undeleted (if a mod doesn't pick it up here). Mods are (mostly) humans who do on occasion fat finger a post. And please stop your nonsense comments on the question and other answers to it that only relate to what happened to you and the "dangers" this might spell for their authors as well.
    – Bart
    Commented Apr 21, 2014 at 11:37
  • 1
    If its an honest mistake let @Bohemian clarify it. I think sawa wants to here from him.
    – Satpal
    Commented Apr 21, 2014 at 13:21
  • @Satpal: This isn't about specific moderators. He could be away and / or unaware of this post. Pinging him in a comment doesn't actually work, btw. Commented Apr 21, 2014 at 13:50
  • 13
    @GeorgeStocker: Ooooh, I so found a new toy! Commented Apr 21, 2014 at 13:59
  • 7
    @MartijnPieters We... uhhh... also get auto flags for abusers of Super Pings. Yeah, that's it...
    – Andrew Barber Mod
    Commented Apr 21, 2014 at 13:59
  • 4
    @AndrewBarber: OOoooh, really? Let me try to find the triggers for that now! Commented Apr 21, 2014 at 14:01
  • 4
    @MartijnPieters And, uhh... it comes with an auto-suspension that moderators can't cancel. Oh, and Community Managers aren't likely to, either. Yeah, that's it...
    – Andrew Barber Mod
    Commented Apr 21, 2014 at 14:02
  • 4
    @AndrewBarber: You do know the scientist in me so wants to test that hypothesis, and damn the consequences, right? Commented Apr 21, 2014 at 14:03
  • 7
    /me goes off to ping other moderators other than Andrew and George. So what if some of them get annoyed, I'll just tell them that Andrew told him it wouldn't work.. Commented Apr 21, 2014 at 14:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .