A financial control for payments by weeks using Ruby on Rails