Did Rails/ActiveRecord Railroad Our Timestamps?

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 https://rubyonrails.ba/single/did-rails-activerecord-railroad-our-timestamps

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles