Architecture
Refactoring
Agile
Delivery
Microservices
Data
Testing
DSL
About
Books
FAQ
Videos
Content Index
Board Games
Photography
Insights
Careers
Radar
RSS
Mastodon
LinkedIn
X (Twitter)
BGG
Jay Fields
Shane Harvie
1 Oct 2009
page 264
You have conditional code that is unnecessarily verbose and does not use the most readable Ruby construct.
Replace the conditional code with the more idiomatic Ruby construct.
parameters = params ? params : []
image/svg+xml
parameters = params || []