mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
Remove redundant note about public_send (It's already verified by rubocop)
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user