RSpec not_change
You can add your own support for the absent not_change
matcher.
John Norris — September 11 2024
Development snippets.
You can add your own support for the absent not_change
matcher.
John Norris — September 11 2024
A great way of testing a collection in RSpec without needing to care about the order.
John Norris — September 4 2024
It can be a bit of a mystery, but they've used a simple pattern.
John Norris — August 29 2024
A better way of using git blame
to give you a more accurate result.
Adam Dawkins — May 8 2024
Allows us to use Value Objects for things that are part of our models.
Adam Dawkins — February 21 2024
update
goes via the ActiveRecord record, while update_all
writes to the column in SQL.
Adam Dawkins — February 3 2024
link_to_if
is a great way to conditionally render a link, but it can be a trap if you're not careful.
John Norris — February 2 2024
I've got a number, and I want that number, or 0 or 100 if it overflows in either direction
John Norris — December 15 2023
You apparently can’t combine include_blank
and required
on a select box, which seems odd.
John Norris — November 10 2023
There seems to be a solveable issue with using turbo_frame_tag
within view components.
Rich Butler — November 8 2023
Using the parallel_tests
gem and running the tests in parallel, the whole suite ran in 39 seconds, rather than the usual 4-5 minutes.
Will Hodgson — October 23 2023
Rails does weird rounding in comparisons between Date
and ActiveSupport::TimeWithZone
classes.
Adam Dawkins — September 15 2023
The tmp/storage
folder can grow quickly, and before you know it it's taken over.
Will Hodgson — September 7 2023
Devise trackable
stores useful timestamps for when users did things, but they aren't very clear.
John Norris — July 19 2023
The timestamp that’s passed to version
in db/schema.rb
is very important to get right, especially in merges.
John Norris — July 3 2023
This might be your solution if you’re struggling with SSL issues while installing a version of Ruby with RVM
John Norris — May 22 2023
Using a Turboframe with a src
can be a trap.
John Norris — April 5 2023
Let's go →