README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

ActiveRecord::Base.connection.exec_query("TRUNCATE table faturas RESTART IDENTITY cascade") 639.times{|i| Fatura.new(cliente_id:1).save} Fatura.destroy_all