Override the to_param
method on your object to customize how Rails builds the id to put in the URL.
I create a lot but never run out of ideas. Part of my secret is the note-taking system I use.
Turn vague experience into concrete takeaways by using a mindmap.
You work a full time job shipping features. Use active learning to turn that experience into technical and professional growth.
Automatically infer the correct HTTP verb in your Rails forms by defining the persisted?
method.
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.