From 17598d482f5dd9e1259ae29a943ed8780bace0c1 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Wed, 18 Jun 2014 18:24:17 +0800 Subject: [PATCH] fix MemberProfile dynamic values --- app/models/member_profile.rb | 1 + app/models/member_profile_field_value.rb | 1 + 2 files changed, 2 insertions(+) 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