From 565865ec1c062c2a2774e2b1033f3e3da02fcd65 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Mon, 16 May 2011 21:24:57 +0530 Subject: Link changes lighthouse to github --- railties/guides/source/layout.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides') diff --git a/railties/guides/source/layout.html.erb b/railties/guides/source/layout.html.erb index 911655e0f4..5dcac8e74c 100644 --- a/railties/guides/source/layout.html.erb +++ b/railties/guides/source/layout.html.erb @@ -27,7 +27,7 @@ Overview | Download | Deploy | - Code | + Code | Screencasts | Documentation | Ecosystem | -- cgit v1.2.3 From 1c9a9d9bd2132534fb8b3f6bec6acdb7dcb38ba9 Mon Sep 17 00:00:00 2001 From: Malcolm Locke Date: Wed, 18 May 2011 19:22:05 +1200 Subject: Explicitly use ActiveRecord::IrreversibleMigration --- railties/guides/source/migrations.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides') diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 27f8a9303e..d60b68ec7f 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -386,7 +386,7 @@ class ExampleMigration < ActiveRecord::Migration end -Sometimes your migration will do something which is just plain irreversible, for example it might destroy some data. In cases like those when you can't reverse the migration you can raise +IrreversibleMigration+ from your +down+ method. If someone tries to revert your migration an error message will be displayed saying that it can't be done. +Sometimes your migration will do something which is just plain irreversible, for example it might destroy some data. In cases like those when you can't reverse the migration you can raise +ActiveRecord::IrreversibleMigration+ from your +down+ method. If someone tries to revert your migration an error message will be displayed saying that it can't be done. h3. Running Migrations -- cgit v1.2.3