Check
Check a model to make sure finders are on their own model.
Implementation: check if :find is called by other model.
# File lib/rails_best_practices/checks/keep_finders_on_their_own_model_check.rb, line 18 def evaluate_start(node) add_error "keep finders on their own model" if others_finder?(node) end
Generated with the Darkfish Rdoc Generator 2.