Inspectopedia
 
2024.3

'find' or 'find_by' method call in view

Warning
New
Last modified: 03 December 2024

Reports usages of find or find_by in a view or view helper. Database interaction should be performed by the controller and stored in variables for the view to access.

Inspired by 'Ruby on Rails Code Quality Checklist'