revert strip changes for alias/impl

This commit is contained in:
albert
2013-03-26 20:41:17 -04:00
parent a9be96ce8b
commit 5897aa2ef6
2 changed files with 4 additions and 4 deletions

View File

@@ -91,8 +91,8 @@ class TagAlias < ActiveRecord::Base
end
def normalize_names
self.antecedent_name = antecedent_name.mb_chars.downcase.tr(" ", "_").strip
self.consequent_name = consequent_name.downcase.tr(" ", "_").strip
self.antecedent_name = antecedent_name.mb_chars.downcase.tr(" ", "_")
self.consequent_name = consequent_name.downcase.tr(" ", "_")
end
def initialize_creator

View File

@@ -132,8 +132,8 @@ class TagImplication < ActiveRecord::Base
end
def normalize_names
self.antecedent_name = antecedent_name.downcase.tr(" ", "_").strip
self.consequent_name = consequent_name.downcase.tr(" ", "_").strip
self.antecedent_name = antecedent_name.downcase.tr(" ", "_")
self.consequent_name = consequent_name.downcase.tr(" ", "_")
end
def is_pending?