Skip to content

Instantly share code, notes, and snippets.

@jaydorsey
Created February 26, 2024 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaydorsey/b56529c2403bf4162cd9e51a025be045 to your computer and use it in GitHub Desktop.
Save jaydorsey/b56529c2403bf4162cd9e51a025be045 to your computer and use it in GitHub Desktop.
Remove annotate gem annotations
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