Annotate Rails classes with schema and routes info
srid
(#920) @oieioiget_loaded_model_by_path
is supposed to be nil-safe (#883) @sato11get_loaded_model
to succeed when $LOAD_PATH
contains non-string values (#848) @Hammsrails g annotate:install
(#783) @drwlrails g annotate:install
by @drwl in https://github.com/ctran/annotate_models/pull/783
get_loaded_model
to succeed when $LOAD_PATH
contains non-string values by @Hamms in https://github.com/ctran/annotate_models/pull/848
get_loaded_model_by_path
is supposed to be nil-safe by @sato11 in https://github.com/ctran/annotate_models/pull/883
srid
by @oieioi in https://github.com/ctran/annotate_models/pull/920
Full Changelog: https://github.com/ctran/annotate_models/compare/v3.1.0...v3.2.0
Ruby 2.4, Rake 12, new options, support for Rails 5, etc
Mostly bug fixes. See https://github.com/ctran/annotate_models/issues?q=milestone%3Av2.7.1+is%3Aclosed
This release contains many bug fixes and enhancements with contributions from so many folks. Thanks!
Unable to annotate foreign_keys
#282Not finding model AB::Thing in ab/thing.rb
#271annotate -e
doesn't skip serializers by default #270Wrapping creates a newline before the close statement
#268'skip_on_db_migrate' => 'false'
#252Revert "Prefer SQL column type over normalized AR type"
Please note that this version produces incompatible annotations.