undefined method 'parameters' for #<yardoc class DailyAffirmation::Validators::ExclusionValidator>

's Avatar

tyler.knappe

01 Apr, 2015 05:33 PM

When visiting http://www.rubydoc.info/gems/daily_affirmation/1.0.0/DailyAffirmati... I see the following error thrown:

undefined method 'parameters' for #<yardoc class DailyAffirmation::Validators::ExclusionValidator>

From what I can tell, It doesn't appear like there is an issue with the daily_affirmation gem. This looks like an issue with the doc generation. http://www.rubydoc.info/gems/daily_affirmation/1.0.0/DailyAffirmati... loads without issue, as well as some of the other validators, which leads me down this path. Any guidance on this would be great!

Thanks,
-Tyler

  1. Support Staff 1 Posted by lsegal on 19 Jun, 2015 12:11 AM

    lsegal's Avatar

    Hey Tyler,

    Sorry for such a seriously delayed response.

    This is an interesting scenario. It looks like this only happens for a few of the validators but not all. Can you maybe shed some light on what might be different between EqualityValidator, which fails, and ConfirmationValidator, which does not?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac