iachat/lib/tasks/auto_annotate_models.rake
Gabriel Jablonski 544aeaa5a0
fix: annotaterb (#173)
* fix: annotaterb

* fix: ensure Hash values are accessed with indifferent access in SerializedValueCoder

Also include missing annotaterb options
2025-12-30 15:18:43 -03:00

10 lines
348 B
Ruby

# NOTE: only doing this in development as some production environments (Heroku)
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
# NOTE: to have a dev-mode tool do its thing in production.
if Rails.env.development?
require 'annotate_rb'
# Configuration is in .annotaterb.yml
AnnotateRb::Core.load_rake_tasks
end