search for: account_balance

Displaying 2 results from an estimated 2 matches for "account_balance".

2006 Feb 28
1
Cache Magic field for totaling
Hello, Rails provide counter cache field for associations, I want a similar cache for totaling up values (say account_balance = sum_of_deposits - sum_of_withdrawals). I was wondering if rails, already has another surprise in store for me, or is there any plug-in or how-to for doing these kind of things. Thanks. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read the latest news at: http://news.kre...
2006 Feb 28
0
Help: Script isn''t sending any email
...ubject = "Thank you for your payment" # Email body substitutions go here @body["first_name"] = user.first_name @body["last_name"] = user.last_name @body["transaction_id"] = transaction.id @body["amount"] = transaction.amount @body["account_balance"] = bill.current_account_balance end View Code: <html> <body> Dear <%= @first_name %> <%= @last_name %>, <p>We have successfully received your payment of $<%= @amount %>. Your new account balance is:<br> <b>$<%= @current_account_balance %&...