diff --git a/railties/guides/source/3_2_release_notes.textile b/railties/guides/source/3_2_release_notes.textile index d669a7fdfa..0f8fea2bf6 100644 --- a/railties/guides/source/3_2_release_notes.textile +++ b/railties/guides/source/3_2_release_notes.textile @@ -49,6 +49,18 @@ The mass_assignment_sanitizer config also needs to be added in conf config.active_record.mass_assignment_sanitizer = :strict +h4. What to update in your engines + +Replace the code beneath the comment in script/rails with the following content: + + +ENGINE_ROOT = File.expand_path('../..', __FILE__) +ENGINE_PATH = File.expand_path('../../lib/your_engine_name/engine', __FILE__) + +require 'rails/all' +require 'rails/engine/commands' + + h3. Creating a Rails 3.2 application