This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
grindable/lib/tasks/create_fund.rake

10 lines
190 B
Ruby

desc "Creates the fund for managing."
task :create_fund => :environment do
begin
fund = Fund.new
fund.save!
rescue => exception
puts "Failed: #{exception.inspect}"
end
end