Articles
-
Autocorrect 'Missing frozen string literal comment' warnings in Rubocop
When faced with large numbers of warnings from Rubocop related to its
FrozenStringLiteralComment
rule, from a newly-linted project or perhaps due to large numbers of auto-generated files, there’s an easy fix to avoid correcting each file manually. -
Fix Puma installation error: implicitly declaring library function 'isspace'
Update
-
How to find duplicate column values in PostgreSQL
Here’s a recipe for retrieving duplicate values in a SQL query (run on Postgres).
-
How to get multiple counts from one SQL query
There are different methods for fetching multiple counts in SQL. One is to use subqueries to fetch individual counts:
-
'Nothing was returned from render' React error
The following React error may appear in different situations, possibly when using React Testing Library: