Permalink
Browse files

note that after_initialize is run for rake tasks

  • Loading branch information...
1 parent 8698deb commit 7c6d4377b85a4e534f627a8b6ea126d74a7bb039 @bruceadams bruceadams committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/configuring.textile
View
2 railties/guides/source/configuring.textile
@@ -40,7 +40,7 @@ Rails will use that particular setting to configure Active Record.
h4. Rails General Configuration
-* +config.after_initialize+ takes a block which will be ran _after_ Rails has finished initializing the application. That includes the initialization of the framework itself, plugins, engines, and all the application's initializers in +config/initializers+. Useful for configuring values set up by other initializers:
+* +config.after_initialize+ takes a block which will be run _after_ Rails has finished initializing the application. That includes the initialization of the framework itself, plugins, engines, and all the application's initializers in +config/initializers+. Note that this block _will_ be run for rake tasks. Useful for configuring values set up by other initializers:
<ruby>
config.after_initialize do

0 comments on commit 7c6d437

Please sign in to comment.