Browse files

Add "Using the change method" title back to make it stand out

  • Loading branch information...
1 parent e44b845 commit b4d13ed204dde24088603cccc918efe7e811fc96 @oscardelben oscardelben committed Apr 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/migrations.textile
2 guides/source/migrations.textile
@@ -82,6 +82,8 @@ it to default to +false+ for new users, but existing users are considered to
have already opted in, so we use the User model to set the flag to +true+ for
existing users.
+h4. Using the change method
Rails 3.1 makes migrations smarter by providing a new <tt>change</tt> method.
This method is preferred for writing constructive migrations (adding columns or
tables). The migration knows how to migrate your database and reverse it when

0 comments on commit b4d13ed

Please sign in to comment.