This commit is contained in:
2014-07-30 10:15:40 +05:30
committed by Andreas Stephanides
parent 2b562fd7e0
commit 7d56d10431
35 changed files with 429 additions and 12 deletions

View File

@@ -16,7 +16,7 @@
class Fetprofile < ActiveRecord::Base
attr_accessible :active, :desc, :fetmailalias, :nachname, :picture, :short, :vorname, :memberships_attributes, :remove_picture, :picture_cache, :plz, :street, :city, :instant,:skype, :telnr, :hdynr, :birth_day, :birth_month, :birth_year,:geschlecht
has_many :memberships, dependent: :delete_all
has_many :memberships, dependent: :destroy
has_many :gremien, :through=> :membership
mount_uploader :picture, PictureUploader
has_paper_trail