From e7c852f69ba60d5a90840eae734b668853101fda Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Sun, 14 Sep 2008 13:33:53 +0100 Subject: Start authors section and link to it from migrations guide --- railties/doc/guides/authors.txt | 9 +++++++++ railties/doc/guides/migrations/changelog.txt | 3 +++ railties/doc/guides/migrations/foreign_keys.txt | 3 ++- railties/doc/guides/migrations/migrations.txt | 3 ++- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 railties/doc/guides/authors.txt create mode 100644 railties/doc/guides/migrations/changelog.txt diff --git a/railties/doc/guides/authors.txt b/railties/doc/guides/authors.txt new file mode 100644 index 0000000000..ca817d8f77 --- /dev/null +++ b/railties/doc/guides/authors.txt @@ -0,0 +1,9 @@ +About the Authors +================= + +.Frederick Cheung +[[fcheung]] +*********************************************************** +Frederick Cheung is Chief Wizard at Texperts where he has been using Rails since 2006. +He is based in Cambridge (UK) and when not consuming fine ales he blogs at http://www.spacevatican.org[spacevatican.org]. +*********************************************************** \ No newline at end of file diff --git a/railties/doc/guides/migrations/changelog.txt b/railties/doc/guides/migrations/changelog.txt new file mode 100644 index 0000000000..61fb03d3ee --- /dev/null +++ b/railties/doc/guides/migrations/changelog.txt @@ -0,0 +1,3 @@ +== Changelog == + +* September 14, 2008: initial version by link:../authors.html#fcheung[Frederick Cheung] \ No newline at end of file diff --git a/railties/doc/guides/migrations/foreign_keys.txt b/railties/doc/guides/migrations/foreign_keys.txt index c1cde64096..8f796843b2 100644 --- a/railties/doc/guides/migrations/foreign_keys.txt +++ b/railties/doc/guides/migrations/foreign_keys.txt @@ -4,4 +4,5 @@ The Active Record way is that intelligence belongs in your models, not in the da Validations such as `validates_uniqueness_of` are one way in which models can enforce data integrity. The `:dependent` option on associations allows models to automatically destroy child objects when the parent is destroyed. Like anything which operates at the application level these cannot guarantee referential integrity and so some people augment them with foreign key constraints. -Although Active Record does not provide any tools for working directly with such features, the `execute` method can be used to execute arbitrary SQL. There are also a number of plugins such as http://agilewebdevelopment.com/plugins/search?search=redhillonrails[redhillonrails] which add foreign key support to Active Record (including support for dumping foreign keys in `schema.rb`). \ No newline at end of file +Although Active Record does not provide any tools for working directly with such features, the `execute` method can be used to execute arbitrary SQL. There are also a number of plugins such as http://agilewebdevelopment.com/plugins/search?search=redhillonrails[redhillonrails] which add foreign key support to Active Record (including support for dumping foreign keys in `schema.rb`). + diff --git a/railties/doc/guides/migrations/migrations.txt b/railties/doc/guides/migrations/migrations.txt index bbb39d0ccb..653fa818dd 100644 --- a/railties/doc/guides/migrations/migrations.txt +++ b/railties/doc/guides/migrations/migrations.txt @@ -18,4 +18,5 @@ include::writing_a_migration.txt[] include::rakeing_around.txt[] include::using_models_in_migrations.txt[] include::scheming.txt[] -include::foreign_keys.txt[] \ No newline at end of file +include::foreign_keys.txt[] +include::changelog.txt[] \ No newline at end of file -- cgit v1.2.3