working cache

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-13 15:36:10 +08:00
1 parent 0e65e379b0
commit 4daf36908c
14 files changed
+41 -8

No files matched your search

+5 -2
View File
@@ -3,10 +3,13 @@ class I18nVariable
include Mongoid::Document
include Mongoid::Timestamps
field :key
field :document_class, :type => String
field :key, :index => true
field :document_class, :type => String, :index => true
field :parent_id, :type => BSON::ObjectId, :index => true
belongs_to :language_value, polymorphic: true
def method_missing(*field)