diff options
| author | hukl <hukl@eight.local> | 2009-02-07 15:50:40 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-07 15:50:40 +0100 |
| commit | 36a2f1f3c085dd81171cf7d8220770d4ff921ab3 (patch) | |
| tree | 5ded15331b192bf428af4c94d46d1abb28ef0690 /vendor/plugins/globalize2/test/data/no_globalize_schema.rb | |
| parent | ce9645d0092d42c7bf8781378181ffbd4ff3d088 (diff) | |
added globalize2 plugin as well as some modifications
which use the new translation facilities.
backend mostly.
Diffstat (limited to 'vendor/plugins/globalize2/test/data/no_globalize_schema.rb')
| -rw-r--r-- | vendor/plugins/globalize2/test/data/no_globalize_schema.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/plugins/globalize2/test/data/no_globalize_schema.rb b/vendor/plugins/globalize2/test/data/no_globalize_schema.rb new file mode 100644 index 00000000..7cfaf69d --- /dev/null +++ b/vendor/plugins/globalize2/test/data/no_globalize_schema.rb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # This schema creates tables without columns for the translated fields | ||
| 2 | ActiveRecord::Schema.define do | ||
| 3 | create_table :blogs, :force => true do |t| | ||
| 4 | t.string :name | ||
| 5 | end | ||
| 6 | |||
| 7 | create_table :posts, :force => true do |t| | ||
| 8 | t.references :blog | ||
| 9 | end | ||
| 10 | end | ||
| 11 | |||
