summaryrefslogtreecommitdiff
path: root/vendor/plugins/globalize2/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/globalize2/test/data')
-rw-r--r--vendor/plugins/globalize2/test/data/post.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/plugins/globalize2/test/data/post.rb b/vendor/plugins/globalize2/test/data/post.rb
index fdfb7c0..6673dc4 100644
--- a/vendor/plugins/globalize2/test/data/post.rb
+++ b/vendor/plugins/globalize2/test/data/post.rb
@@ -12,4 +12,13 @@ class Parent < ActiveRecord::Base
12end 12end
13 13
14class Child < Parent 14class Child < Parent
15end
16
17class Comment < ActiveRecord::Base
18 validates_presence_of :content
19 belongs_to :post
20end
21
22class TranslatedComment < Comment
23 translates :content
15end \ No newline at end of file 24end \ No newline at end of file