Why this matters
Avoids duplication and inconsistent behavior across views.
Place cross-controller view helpers in ApplicationHelper (or a shared module) for reuse.
Avoids duplication and inconsistent behavior across views.
Side-by-side examples engineers can pattern-match during review.
module OrdersHelper; def currency(v); number_to_currency(v); end endmodule ApplicationHelper; def currency(v); number_to_currency(v); end endduplicate helpers across modulesshared helper in ApplicationHelperFrom the same buckets as this rule.