module BankAccountsHelper def hide_account_number(account_number) # Example implementation that hides all but the last 4 digits "**** **** **** #{account_number.last(4)}" end end