lib/clubhouse.rb in clubhouse-0.1.0 vs lib/clubhouse.rb in clubhouse-0.2.0
- old
+ new
@@ -13,13 +13,9 @@
class << self
def is_id?(value)
!!(ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid::ACCEPTABLE_UUID =~ value)
end
- def normalize_name(name)
- name.to_s.downcase.gsub(/\s+/, "-")
- end
-
def normalize_email(email)
email.to_s.downcase.gsub(/\s+/, "")
end
def generate_token(length = TOKEN_LENGTH)