Upgraded to Rails 7.1.3.2 and Ruby 3.3.0

Added an Evidence rich text field for Sub principle items.
This commit is contained in:
Jez Caudle 2024-04-25 10:52:10 +01:00
parent 0a59311f2c
commit 8200b974c3
3 changed files with 6 additions and 2 deletions

View File

@ -7,3 +7,6 @@ import "@rails/actiontext";
window.importmapScriptsLoaded = true;
import "trix"
import "@rails/actiontext"

View File

@ -1,3 +1,4 @@
class Subprincipleitem < ApplicationRecord
belongs_to :subprincipleitemgroup
has_rich_text :evidence
end

View File

@ -4,7 +4,7 @@ pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin "trix"
pin "@rails/actiontext", to: "actiontext.js"
pin_all_from "app/javascript/controllers", under: "controllers"
pin "script"
pin "trix"
pin "@rails/actiontext", to: "actiontext.esm.js"