update rails to 8.1.2

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-01-26 18:22:47 +02:00
1 parent d12c67fd54
commit 7b5494468f
23 files changed
+1676 -1018

No files matched your search

@@ -13,7 +13,7 @@ class TemplatesDetectFieldsController < ApplicationController
documents = @template.schema_documents.preload(:blob)
documents = documents.where(uuid: params[:attachment_uuid]) if params[:attachment_uuid].present?
page_number = params[:page].present? ? params[:page].to_i : nil
page_number = params[:page].presence&.to_i
documents.each do |document|
io = StringIO.new(document.download)