This inspection warns if there are usages of base model methods (
.find
or
.find_by
) in a view or view helper.
A better approach is to create and use a custom model method.
Inspired by "Ruby on Rails Code Quality Checklist"