Skip to content
Browse files

Bootstrapping element on Accounts

  • Loading branch information...
1 parent c1534fd commit 5ac0099f6f4ea72063c04686fc7fa2bd547c152f @arafatm arafatm committed Dec 24, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/tasks/bootstrap.rake
View
8 lib/tasks/bootstrap.rake
@@ -9,10 +9,10 @@ task :bootstrap => :environment do
:admin => true)
# Create Accounts
- income = Account.generate(:name => 'Income')
- checking = Account.generate(:name => 'Checking')
- taxes = Account.generate(:name => 'Taxes')
- groceries = Account.generate(:name => 'Groceries')
+ income = Account.generate(:name => 'Income', :element => 'Revenue')
+ checking = Account.generate(:name => 'Checking', :element => 'Asset')
+ taxes = Account.generate(:name => 'Taxes', :element => 'Liability')
+ groceries = Account.generate(:name => 'Groceries', :element => 'Expense')
# Create Memos/Entries
t1 = Memo.generate(:text => 'Paycheck',

0 comments on commit 5ac0099

Please sign in to comment.
Something went wrong with that request. Please try again.