app/models/account.rb
# add a new type to each account when it is added to the
# application, using the console...
# use a loop here...
add a new type to each account when it is added to the
application, using the console
use a loop here
add a new type to each account when it is added to the application using the console use a loop here
def new_job(type)
    self.credits[type] = 0
    self.totals[type] = 0
    self.expiry[type] = '31/06/2017'
    self.arrears[type] = 'yes'
  end
def new_job ( type ) self . credits [ type ] = 0 self . totals [ type ] = 0 self . expiry [ type ] = '31/06/2017' self . arrears [ type ] = 'yes' end
add a new type to each account when it is added to the
application, using the console...
use a loop here...
add a new type to each account when it is added to the application using the console ... use a loop here ...
type
<not_specific>