From 7c035ff6e51c2585680d60aff0de5e655eb05a0d Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 27 Nov 2015 13:13:59 +0200 Subject: [PATCH] fix typo --- app/models/contact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/contact.rb b/app/models/contact.rb index 08bfe9446..c034c921a 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -227,7 +227,7 @@ class Contact < ActiveRecord::Base next unless column.type == :string c_name = column.name - val = read_atribute(c_name) + val = read_attribute(c_name) errors.add(c_name, :invalid) if val.include?('<') || val.include?('>') || val.include?('%3C') || val.include?('%3E') return end