Gender is not a binary, and a binary is not a boolean.
It will make your code more flexible and easier to maintain.
Running a separate query to count how many records are associated with another record is inefficient. Using a counter cache can save the day!
Branching early helps structure multi-step forms.
Learn how to improve the interface of your existing Active Record Models with this underutilized API.
Here are the risks and common scenarios we see when a team doesn’t have a plan for ongoing maintenance for their Rails application. We also share how we support clients in these situations with our new, flexible, Rails Maintenance offering.
Links to some of the best Elm data modeling resources around the web.
What is the correct behavior of hash
, ==
, eql?
and equal?
for value objects?
ActiveRecord provides a comprehensive interface for querying the database, but at what cost?
Techniques and reasons to optimize your code for people, not metrics.