A few best practices to keep in mind when getting started with Hotwire and Rails.
When your custom collection has more than one way to be traversed, return Enumerator instead of including Enumerable.
Avoid writers block by using a rubric to flesh out your conference talk idea.
Get a better understanding of Ruby enumerators by looking at them from 3 different perspectives.
Things I think about when putting together effective method-level documentation.
Code written with reduce
can be intimidating. This 2-step approach can help.
Branching early helps structure multi-step forms.
The contents of a map
block should probably be an instance method on each item.
RSpec custom matchers can be written using plain old objects.