summaryrefslogtreecommitdiff
path: root/vendor/plugins/globalize2/test/data
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-07-19 19:02:31 +0200
committerhukl <contact@smyck.org>2009-07-19 19:02:31 +0200
commit7c9f0d0823bdce9a011d3bdd2823e15ffb7c1311 (patch)
treeb82854becc5437517180aa6406a0baebdad7e71b /vendor/plugins/globalize2/test/data
parent0d8879354fbd251e4509a0ab5c6b6e47aa3fa47d (diff)
updated globalize2 plugin
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