age should be int

master
Matt Huntington 8 years ago
parent 11435c3661
commit a8f81f5774

@ -5,7 +5,7 @@ class Person
def initialize(opts = {})
@id = opts["id"].to_i
@name = opts["name"]
@age = opts["age"]
@age = opts["age"].to_i
end
def self.all

Loading…
Cancel
Save