diff options
author | Jeff Dean <jeff@zilkey.com> | 2008-11-14 02:29:12 -0500 |
---|---|---|
committer | Jeff Dean <jeff@zilkey.com> | 2008-11-14 02:29:12 -0500 |
commit | 7eb249291d1c8a8af14c52de4767a36ba8f924e3 (patch) | |
tree | 57b0d3c3c9a59088b46fa009117896efbfe2a463 /railties/doc/guides/source/creating_plugins/test_setup.txt | |
parent | 8a9bd56ca0d43c703f330e378474ddbdca2acd8e (diff) | |
download | rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.tar.gz rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.tar.bz2 rails-7eb249291d1c8a8af14c52de4767a36ba8f924e3.zip |
Plugin guide: added model and controller sections
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/test_setup.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/test_setup.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/doc/guides/source/creating_plugins/test_setup.txt b/railties/doc/guides/source/creating_plugins/test_setup.txt index 9e6763bc30..6ea2a37fa7 100644 --- a/railties/doc/guides/source/creating_plugins/test_setup.txt +++ b/railties/doc/guides/source/creating_plugins/test_setup.txt @@ -115,6 +115,9 @@ ActiveRecord::Schema.define(:version => 0) do t.string :last_tweet t.datetime :last_tweeted_at end + create_table :woodpeckers, :force => true do |t| + t.string :name + end end ---------------------------------------------- |