summaryrefslogtreecommitdiff
path: root/vendor/plugins/globalize2/test/data/post.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/globalize2/test/data/post.rb')
-rw-r--r--vendor/plugins/globalize2/test/data/post.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/plugins/globalize2/test/data/post.rb b/vendor/plugins/globalize2/test/data/post.rb
deleted file mode 100644
index 6673dc4..0000000
--- a/vendor/plugins/globalize2/test/data/post.rb
+++ /dev/null
@@ -1,24 +0,0 @@
1class Post < ActiveRecord::Base
2 translates :subject, :content
3 validates_presence_of :subject
4end
5
6class Blog < ActiveRecord::Base
7 has_many :posts, :order => 'id ASC'
8end
9
10class Parent < ActiveRecord::Base
11 translates :content
12end
13
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
24end \ No newline at end of file