Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Adds 'skip_read' flag for comments only containing :nodoc: #10

Merged
merged 1 commit into from
Dec 3, 2014

Conversation

KyFaSt
Copy link
Contributor

@KyFaSt KyFaSt commented Dec 2, 2014

  • skip_read flag set by comments that eql ':nodoc:'
  • prevents emails from being sent that encourage subscriber to read
    docs which are essentiall blank
  • side effect that these docs won't be sent out for write either

addresses issue #9

@@ -30,6 +30,7 @@ def unassigned_read_doc_methods(limit = self.read_limit)
repo.methods_with_docs.
active.
where("doc_methods.id not in (?)", pre_assigned_doc_method_ids).
where(skip_read: false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing a fullstop . here so the method chaining is no longer working (it's not calling order after your where anymore)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, good catch. Thank you!!

* skip_read flag set by comments that eql ':nodoc:'
* prevents emails from being sent that encourage subscriber to read
  docs which are essentiall blank
* side effect that these docs won't be sent out for write either
@parndt
Copy link
Member

parndt commented Dec 2, 2014

CI passes now - @schneems what do you think?

My initial thought is that this column should be indexed.

@schneems
Copy link
Member

schneems commented Dec 3, 2014

Looks good, thanks!

schneems added a commit that referenced this pull request Dec 3, 2014
Adds 'skip_read' flag for comments only containing :nodoc:
@schneems schneems merged commit 9781523 into codetriage:master Dec 3, 2014
@schneems
Copy link
Member

schneems commented Dec 3, 2014

❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants