From 754295b4b4e1706943f4f47d33628eb3e8409cbd Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 4 Mar 2024 09:38:04 +1100 Subject: [PATCH] Remove redundant note about public_send (It's already verified by rubocop) --- Code-Conventions.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Code-Conventions.md b/Code-Conventions.md index b661b18..8304b8d 100644 --- a/Code-Conventions.md +++ b/Code-Conventions.md @@ -6,16 +6,6 @@ This pages lists additional conventions that are not verified by Rubocop, but we See this guide: [[Database-migrations]] -# Ruby - -### Prefer `public_send` over `send` - -As stated in the Ruby Style Guide: - -> Prefer public_send over send so as not to circumvent private/protected visibility. - -See https://github.com/rubocop-hq/ruby-style-guide#prefer-public-send - # HTML Templates ### Use `j` when inserting an arbitrary Ruby string in a JS or Angular expression