From 9f0ce902a41c2df946aa5c2946185189139c8e63 Mon Sep 17 00:00:00 2001 From: Gabriel Zayas Date: Wed, 21 Jun 2023 08:50:12 +0900 Subject: [PATCH 1/2] Remove unneeded lines from docs --- bullet_train/docs/field-partials/file-field.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/bullet_train/docs/field-partials/file-field.md b/bullet_train/docs/field-partials/file-field.md index d679fe5f2..780f30cb3 100644 --- a/bullet_train/docs/field-partials/file-field.md +++ b/bullet_train/docs/field-partials/file-field.md @@ -8,8 +8,6 @@ In addition, Bullet Train has integrated the direct-uploads feature of Active St ## Example -Add a 'document' file as an attachment to a `Post` model: - Add the following to `app/models/post.rb`: ```ruby From f0e007aec56a71ddb946856ca79be8a8edd85df8 Mon Sep 17 00:00:00 2001 From: gazayas Date: Tue, 8 Aug 2023 10:34:50 +0900 Subject: [PATCH 2/2] Update file field partial documentation --- bullet_train/docs/field-partials/file-field.md | 1 + 1 file changed, 1 insertion(+) diff --git a/bullet_train/docs/field-partials/file-field.md b/bullet_train/docs/field-partials/file-field.md index 780f30cb3..0fff0d3b0 100644 --- a/bullet_train/docs/field-partials/file-field.md +++ b/bullet_train/docs/field-partials/file-field.md @@ -8,6 +8,7 @@ In addition, Bullet Train has integrated the direct-uploads feature of Active St ## Example +The following steps illustrate how to add a `document` file attachment to a `Post` model. Add the following to `app/models/post.rb`: ```ruby