From 7c9f0d0823bdce9a011d3bdd2823e15ffb7c1311 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 19 Jul 2009 19:02:31 +0200 Subject: updated globalize2 plugin --- vendor/plugins/globalize2/test/data/post.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vendor/plugins/globalize2/test/data') 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 end class Child < Parent +end + +class Comment < ActiveRecord::Base + validates_presence_of :content + belongs_to :post +end + +class TranslatedComment < Comment + translates :content end \ No newline at end of file -- cgit v1.3