year converted to integer in model

This commit is contained in:
Harry Bomrah 2015-12-04 14:53:31 +08:00
parent 43a14b5c9e
commit af05f4dbf0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Honor
belongs_to :honor_type
belongs_to :member_profile
field :year
field :year, type: Integer
field :award_name, localize: true
field :awarding_unit, localize: true
field :language