mmm I think in a class method, for example  

in the transaction model
def self.for_date(transactions) 
    transactions.group_by {|t| t.date.to_s(:short_date) }
end

and in the show account view
= render_transactions @transactions.for_date(@transactions) , show_balance: true

but I don't know the best practice