Created
February 26, 2024 20:34
-
-
Save jaydorsey/b56529c2403bf4162cd9e51a025be045 to your computer and use it in GitHub Desktop.
Remove annotate gem annotations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For some reason, I couldn't get the annotate gem to remove the file annotations | |
I used SublimeText w/ the following regex: | |
Find: `(?s)# == Schema Information\n(.*?)\n((# :nodoc:\n)?class)` | |
Replace: `class` (just adds back what I grabbed above) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment