I'm using composite foreign keys in my database, and currently Annotate complains with warnings like :
Unable to annotate app/models/monitor_base.rb: comparison of Array with Array failed
Unable to annotate app/models/monitor_base.rb: no implicit conversion of nil into Array
This pull request adds support for composite keys, with output such as :
(The PR also hacks around with Gemfile and spec/spec_helper.rb so I could get the tests to run locally on my Ruby version - those changes aren't really necessary.)
I'm using composite foreign keys in my database, and currently Annotate complains with warnings like :
This pull request adds support for composite keys, with output such as :
(The PR also hacks around with
Gemfile
andspec/spec_helper.rb
so I could get the tests to run locally on my Ruby version - those changes aren't really necessary.)