'find' or 'find_by' method call in view
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'
Inspection Details | |
---|---|
Available in: | Qodana for Ruby 2023.3, RubyMine 2023.3 |
Plugin: | Ruby, 233.SNAPSHOT |
Last modified: 13 July 2023