From ed7ff282210d1607528474f18bc688eda08a083e Mon Sep 17 00:00:00 2001 From: Nick Weiland Date: Tue, 23 May 2023 15:22:03 -0700 Subject: [PATCH] Fixes typos in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0e07c77..c257d894 100644 --- a/README.md +++ b/README.md @@ -460,9 +460,9 @@ class UserBlueprint < Blueprinter::Base view :normal do # If first_name is an empty string, it will become "N/A" - field :first_name, default_if: Blueprinter::EmptyString, default: "N/A" + field :first_name, default_if: Blueprinter::EMPTY_STRING, default: "N/A" # If the projects association collection is empty, it will become nil - association :projects, blueprint: ProjectBlueprint, default_if: Blueprinter::EmptyCollection + association :projects, blueprint: ProjectBlueprint, default_if: Blueprinter::EMPTY_COLLECTION end end ```