Commit e41cf6574dc863348cf290a734867af637375ace

Authored by Rafael Manzo
1 parent e83bd31d

Reviewd Reading model

Signed off by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/reading.rb
... ... @@ -4,7 +4,7 @@ class Reading &lt; KalibroGem::Entities::Reading
4 4 attr_accessor :label, :grade, :color
5 5  
6 6 validates :label, presence: true, kalibro_uniqueness: true
7   - validates :grade, presence: true
  7 + validates :grade, presence: true #TODO: Validates numeracy
8 8 validates :color, presence: true
9 9  
10 10 end
... ...