diff options
| author | hukl <contact@smyck.org> | 2009-07-19 19:02:31 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-07-19 19:02:31 +0200 |
| commit | 7c9f0d0823bdce9a011d3bdd2823e15ffb7c1311 (patch) | |
| tree | b82854becc5437517180aa6406a0baebdad7e71b /vendor/plugins/globalize2/test/data | |
| parent | 0d8879354fbd251e4509a0ab5c6b6e47aa3fa47d (diff) | |
updated globalize2 plugin
Diffstat (limited to 'vendor/plugins/globalize2/test/data')
| -rw-r--r-- | vendor/plugins/globalize2/test/data/post.rb | 9 |
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 | |||
| 12 | end | 12 | end |
| 13 | 13 | ||
| 14 | class Child < Parent | 14 | class Child < Parent |
| 15 | end | ||
| 16 | |||
| 17 | class Comment < ActiveRecord::Base | ||
| 18 | validates_presence_of :content | ||
| 19 | belongs_to :post | ||
| 20 | end | ||
| 21 | |||
| 22 | class TranslatedComment < Comment | ||
| 23 | translates :content | ||
| 15 | end \ No newline at end of file | 24 | end \ No newline at end of file |
