Skip to content

Fix with_comment format in annotate_models_rake #560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2018

Conversation

yhirano55
Copy link
Contributor

Summary

  • :with_comment option is flag.
  • It should use true? instead of fallback.

Now with_comment option is enforcely overwritten in annotate_models.rake. So I've fixed it.

* :with_comment option is flag
* It should use `true?` instead of `fallback`.
@yhirano55
Copy link
Contributor Author

@ctran I would appreciate it if you could please review this patch.

@ctran ctran added this to the v2.7.4 milestone May 10, 2018
@ctran ctran merged commit e02d122 into ctran:develop May 10, 2018
@yhirano55 yhirano55 deleted the fix_with_comment branch May 10, 2018 04:24
@yhirano55
Copy link
Contributor Author

yhirano55 commented May 31, 2018

@ctran When is it going to release the new version which includes this patch? Now it's so inconvenient for our team. Please ship new version up if you have time 🙏

@ctran
Copy link
Owner

ctran commented Jun 3, 2018

@yhirano55 it's published - https://rubygems.org/gems/annotate/versions/2.7.4

@yhirano55
Copy link
Contributor Author

Thank you so much!

mgpnd pushed a commit to mgpnd/annotate_models that referenced this pull request Feb 15, 2019
* :with_comment option is flag
* It should use `true?` instead of `fallback`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants