From 99307b959b1c16ab1dd0400a7398019fe9d5494b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 25 Feb 2006 23:06:04 +0000 Subject: Added calculations: Base.count, Base.average, Base.sum, Base.minimum, Base.maxmium, and the generic Base.calculate. All can be used with :group and :having. Calculations and statitics need no longer require custom SQL. #3958 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/accounts.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activerecord/test/fixtures/accounts.yml') diff --git a/activerecord/test/fixtures/accounts.yml b/activerecord/test/fixtures/accounts.yml index 707c5d0a7f..a3d6742d79 100644 --- a/activerecord/test/fixtures/accounts.yml +++ b/activerecord/test/fixtures/accounts.yml @@ -16,3 +16,8 @@ last_account: id: 4 firm_id: 2 credit_limit: 60 + +rails_core_account_2: + id: 5 + firm_id: 6 + credit_limit: 55 \ No newline at end of file -- cgit v1.2.3