* annotate --routes modifies only routes.rb This change is a proposed solution to #357 and an alternative to the already proposed solution #361. In #361 it is needed to call `annotate --routes --ignore-models` to achieve the same as in this change with only `annotate --routes`. * Call eager_load only when models are included This to prevent activerecord model errors when using mongoid for example and calling `annotate --routes`
Name |
Last commit
|
Last update |
---|---|---|
bin | Loading commit data... | |
lib | Loading commit data... | |
spec | Loading commit data... | |
.document | Loading commit data... | |
.gitignore | Loading commit data... | |
.overcommit.yml | Loading commit data... | |
.rbenv-gemsets | Loading commit data... | |
.rspec | Loading commit data... | |
.rubocop.yml | Loading commit data... | |
.rubocop_todo.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
.yardopts | Loading commit data... | |
AUTHORS.rdoc | Loading commit data... | |
CHANGELOG.rdoc | Loading commit data... | |
Gemfile | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.rdoc | Loading commit data... | |
RELEASE.rdoc | Loading commit data... | |
Rakefile | Loading commit data... | |
TODO.rdoc | Loading commit data... | |
annotate.gemspec | Loading commit data... | |
circle.yml | Loading commit data... | |
potato.md | Loading commit data... |