working cache
This commit is contained in:
1 parent
0e65e379b0
commit
4daf36908c
14 files changed
+41
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user