diff --git a/app/models/member_profile.rb b/app/models/member_profile.rb index 4f313c9..2e9a6fa 100644 --- a/app/models/member_profile.rb +++ b/app/models/member_profile.rb @@ -1,6 +1,7 @@ class MemberProfile include Mongoid::Document include Mongoid::Timestamps + include Mongoid::Attributes::Dynamic include Mongoid::Tree include Mongoid::Tree::Ordering diff --git a/app/models/member_profile_field_value.rb b/app/models/member_profile_field_value.rb index d98d0cb..32324c2 100644 --- a/app/models/member_profile_field_value.rb +++ b/app/models/member_profile_field_value.rb @@ -1,6 +1,7 @@ class MemberProfileFieldValue include Mongoid::Document include Mongoid::Timestamps + include Mongoid::Attributes::Dynamic include AttributeValuesHelper field :key