Embed attribute_fields and sub_roles

This commit is contained in:
Christophe Vilayphiou committed 2012-01-24 11:57:27 +08:00
1 parent 04f51f2d98
commit bfd55277d7
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ class AttributeField
field :built_in, :type => Boolean, :default => false
field :disabled, :type => Boolean, :default => false
belongs_to :attribute
embedded_in :attribute
has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy
has_many :attribute_values