From e76a4d751633e631458dd2c3e473aa89b97021b7 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Wed, 5 Feb 2020 15:05:43 +0800 Subject: [PATCH] disable year localize setting --- app/models/activity.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/models/activity.rb b/app/models/activity.rb index c346881..2a1421d 100644 --- a/app/models/activity.rb +++ b/app/models/activity.rb @@ -7,10 +7,13 @@ class Activity include MemberHelper #include Slug - field :year, type: String, localize: true + # Language field :activity_name, type: String, localize: true field :activity_organizer, type: String, localize: true field :activity_area, type: String, localize: true + + # Basic + field :year, type: String field :activity_start_date, type: DateTime field :activity_end_date, type: DateTime field :note, type: String