Automat mail chimp subscription

This commit is contained in:
2016-11-15 10:05:53 +01:00
parent ce84a2aa32
commit 42e20b6a3c
5 changed files with 27 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ class Supporter
include Mongoid::Paranoia
include Geocoder::Model::Mongoid
COUNTER_START = 10003
COUNTER_START = 10_003
geocoded_by :address
after_validation :geocode # auto-fetch coordinates