Skip to content
This repository
Browse code

note that after_initialize is run for rake tasks

  • Loading branch information...
commit 7c6d4377b85a4e534f627a8b6ea126d74a7bb039 1 parent 8698deb
Bruce Adams bruceadams authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/guides/source/configuring.textile
2  railties/guides/source/configuring.textile
Source Rendered
@@ -40,7 +40,7 @@ Rails will use that particular setting to configure Active Record.
40 40
41 41 h4. Rails General Configuration
42 42
43   -* +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:
  43 +* +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:
44 44
45 45 <ruby>
46 46 config.after_initialize do

0 comments on commit 7c6d437

Please sign in to comment.
Something went wrong with that request. Please try again.