Merge branch 'pull/3472'
Fix rubocop Rails/TimeZone warnings
Remove redundant presence validation on belongs_to There's no need for us to have it when rails does this for us.
Add inverse_of to relationships that can't detect it automatically
Fix new rubocop warnings
Remove unused to_xml and to_xml_node methods from models
Fix new rubocop warnings
Prefer keyword arguments when method has optional boolean arguments
Fix new rubocop warnings
Create an ApplicationRecord for models to inherit from This is the default for Rails 5+, and also paves the way for multiple database support.
Move Way.to_xml and to_xml_node out of the model and into tests This code is only used in the tests. Refs #2433
Fix numericality validation to use correct integer only constraint Fixes #2355
Update annotations to correctly show bigint types
Fix new rubocop warnings
Move all settings to settings.yml We leave the STATUS setting alone, since it's required before rails boots. The test-specific settings now live in config/settings/test.yml
Fix Style/NumericPredicate rubocop warnings
Fix Style/SafeNavigation rubocop warnings
Fix new rubocop warnings
Fix new rubocop warnings
Add annotate gem and associated rake task. Annotate models.