
Ruby Best Practices - Method Arguments
Simple rules for ordering Ruby method arguments — put optional arguments last, and switch to keyword arguments when you have more than one optional parameter.

Simple rules for ordering Ruby method arguments — put optional arguments last, and switch to keyword arguments when you have more than one optional parameter.

Stop ignoring error messages and start reading them — it will make you a better developer and help you understand your language from the inside out.

A set of guidelines to write clean, readable code that you — and your future self — will thank you for.