Ignore Rails models autoload #106

wants to merge 2 commits into


None yet

9 participants

AlexanderPav... added some commits Jun 4, 2012
sars commented Dec 17, 2012

+1 to this PR. I have a pretty vanilla app on Rails 3.2.11 and relying on Rails' model autoloading was making annotate miss all of my models.

Switching to @AlexanderPavlenko's fork with this commit in it fixes the problem.




+1 I too had a vanilla Rails 3.2.11 app that Rails' autoloading made miss many of my models. Just monkey patching the change in this commit for now.


also broken on discourse, had to fork and source my fork.

@turadg turadg commented on the diff Jun 8, 2013
@@ -119,7 +119,7 @@ OptionParser.new do |opts|
- opts.on('-e', '--exclude [tests,fixtures,factories]', ['tests','fixtures','factories'], "Do not annotate fixtures, test files, and/or factories") do |exclusions|
+ opts.on('-e', '--exclude [tests,fixtures,factories]', Array, "Do not annotate fixtures, test files, and/or factories") do |exclusions|
turadg Jun 8, 2013 Contributor

Why remove the list of options? The ones in the array literal are the only that have an effect.

@ctran ctran closed this Aug 15, 2013
@ctran ctran added the released label Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment