You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't check #present? of ActiveRecord objects because it's always true
(or the variable is assigned nil and it's always false)
While the rails maintainers argue about whether it's a good idea
rails/rails#35059
I found this because out of curiosity I ran our test suite with
ApplicationRecord#present? raising in our projects
0 commit comments