fix annotate model

This commit is contained in:
Pete Matsyburka
2025-02-25 13:10:33 +02:00
parent 85824faa2b
commit b0d8e47a75
6 changed files with 70 additions and 63 deletions
+8
View File
@@ -0,0 +1,8 @@
# This rake task was added by annotate_rb gem.
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
if Rails.env.development? && ENV["ANNOTATERB_SKIP_ON_DB_TASKS"].nil?
require "annotate_rb"
AnnotateRb::Core.load_rake_tasks
end