Did Rails/ActiveRecord Railroad Our Timestamps?
30-Jan-2020 1474
Tests are supposed to help keep apps from being flaky. But once in a while, tests themselves can become flaky—even the most straightforward ones. Here’s how we dove into a problematic test on a Ruby on Rails app backed by PostgreSQL, and what we uncovered.We wanted to check that certain business logic (called by a method perform) doesn’t change a calendar model (an instance of Calendar, a Ruby on Rails ActiveRecord model class) so we wrote:.
Did Rails/ActiveRecord Railroad Our Timestamps? #ruby #rubydeveloper #rubyonrails #Rails/ActiveRecord #Railroad #Timestamps? https://rubyonrails.ba/link/did-rails-activerecord-railroad-our-timestamps