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.
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.