Commit 6ff1587e by babybeasimple

Skip "models/concerns" (since rails 4.0)

parent d8476735
......@@ -354,7 +354,7 @@ module AnnotateModels
models = if options[:ignore_model_sub_dir]
Dir["*.rb"]
else
Dir["**/*.rb"]
Dir["**/*.rb"].reject{ |f| f["concerns/"] }
end
end
rescue SystemCallError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment