diff options
author | spag <spag@golwen.net> | 2013-02-19 09:30:47 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-19 09:30:47 +0100 |
commit | de845aa642e22b0ae08c5ce991bcdef9b656e079 (patch) | |
tree | 170279abe05208997a7105d8da2f059921baee24 /app/models/phone_book_entry.rb | |
parent | 5a0f267435fe3c11414d4aee9f896723a61a0fc2 (diff) |
phone number name tag
Diffstat (limited to 'app/models/phone_book_entry.rb')
-rw-r--r-- | app/models/phone_book_entry.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/phone_book_entry.rb b/app/models/phone_book_entry.rb index 275c7b6..96c8468 100644 --- a/app/models/phone_book_entry.rb +++ b/app/models/phone_book_entry.rb @@ -1,6 +1,8 @@ # encoding: UTF-8 class PhoneBookEntry < ActiveRecord::Base + PHONE_NUMBER_NAMES = ['Phone', 'Office', 'Home', 'Mobile', 'Fax'] + before_save :run_phonetic_algorithm before_save :save_value_of_to_s |