From d509da70d3aaa5fe10b2216452a70565c91dc7f2 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Tue, 29 Mar 2016 22:08:52 +0200 Subject: [PATCH] makeup and test bundler caching --- app/models/supporter.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/models/supporter.rb b/app/models/supporter.rb index 44c64e3..fb1aaad 100644 --- a/app/models/supporter.rb +++ b/app/models/supporter.rb @@ -8,18 +8,18 @@ class Supporter geocoded_by :address after_validation :geocode # auto-fetch coordinates - field :first_name, type: String - field :last_name, type: String - field :street, type: String - field :zip, type: Integer - field :city, type: String - field :email, type: String - field :support, type: String # Indicates the type of support + field :first_name, type: String + field :last_name, type: String + field :street, type: String + field :zip, type: Integer + field :city, type: String + field :email, type: String + field :support, type: String # Indicates the type of support field :li_membership, type: Boolean, default: false - field :age_category, type: String - field :coordinates, type: Array - field :comments, type: String - field :language, type: String + field :age_category, type: String + field :coordinates, type: Array + field :comments, type: String + field :language, type: String validates :first_name, presence: true validates :last_name, presence: true