class Simplabs::Excellent::Checks::Rails::CustomInitializeMethodCheck

This check reports ActiveRecord models that define a custom initialize method. Since ActiveRecord does not always call new to create instances, these custom initialize methods might not always be called, which makes the behavior of the application very hard to understand.

Applies to