summaryrefslogtreecommitdiff
path: root/app/models/phone_book_entry.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 19:05:01 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 19:05:01 +0100
commit8cea5d1c88e2e13ed99a5c54a1e1b69a5d6a2d01 (patch)
tree2973251a90ec498472a597a1e3f12c77268b7dad /app/models/phone_book_entry.rb
parentbdad29d001523a2ba4f515e6202babaa61739fc9 (diff)
Refactoring users#view and added caching.
Diffstat (limited to 'app/models/phone_book_entry.rb')
-rw-r--r--app/models/phone_book_entry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/phone_book_entry.rb b/app/models/phone_book_entry.rb
index db2b44b..275c7b6 100644
--- a/app/models/phone_book_entry.rb
+++ b/app/models/phone_book_entry.rb
@@ -6,7 +6,7 @@ class PhoneBookEntry < ActiveRecord::Base
attr_accessible :first_name, :middle_name, :last_name, :title, :nickname, :organization, :is_organization, :department, :job_title, :is_male, :birthday, :birth_name, :description, :homepage_personal, :homepage_organization, :twitter_account, :facebook_account, :google_plus_account, :xing_account, :linkedin_account, :mobileme_account, :image
- belongs_to :phone_book
+ belongs_to :phone_book, :touch => true
has_many :conference_invitees, :dependent => :destroy
acts_as_list :scope => :phone_book