Sf-60-Ruby-Cisco / BE-Ruby-Project

0 stars 0 forks source link

Create Charging Table & Model #28

Closed apoltieva closed 2 years ago

apoltieva commented 2 years ago

As a user, I want to keep track of my car's chargings.

Steps:

1) create chargings table in accordance with our db schema, (the amount field should be not null). 2) create Charging model 3) to the model, add active record validation that would validate numericality of the amount field You don't need to add anything to UI, that will be a part of another task.