diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-24 15:25:22 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-24 17:29:43 +0530 |
commit | cd2c31a1c448cef135b14017a32ebf7e00d81059 (patch) | |
tree | 35b78aa8ac07bf1cc552722c8444496c740b60a0 /railties | |
parent | 8a04bd0c832a5fe3f248225a732db54392e38fe4 (diff) | |
download | rails-cd2c31a1c448cef135b14017a32ebf7e00d81059.tar.gz rails-cd2c31a1c448cef135b14017a32ebf7e00d81059.tar.bz2 rails-cd2c31a1c448cef135b14017a32ebf7e00d81059.zip |
A few doc changes
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/rails_guides/generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/application.rb | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/railties/guides/rails_guides/generator.rb b/railties/guides/rails_guides/generator.rb index 6f6d3bda80..7f9477f4f7 100644 --- a/railties/guides/rails_guides/generator.rb +++ b/railties/guides/rails_guides/generator.rb @@ -216,7 +216,7 @@ module RailsGuides anchors = Set.new html.scan(/<h\d\s+id="([^"]+)/).flatten.each do |anchor| if anchors.member?(anchor) - puts "*** DUPLICATE ID: #{anchor}, please put and explicit ID, e.g. h4(#explicit-id), or consider rewording" + puts "*** DUPLICATE ID: #{anchor}, please use an explicit ID, e.g. h4(#explicit-id), or consider rewording" else anchors << anchor end diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 19e8426e60..493102a58f 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -154,15 +154,8 @@ module Rails self end - # Rails.application.env_config stores some of the Rails initial environment parameters. - # Currently stores: - # - # * action_dispatch.parameter_filter" => config.filter_parameters, - # * action_dispatch.secret_token" => config.secret_token, - # * action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions - # - # These parameters will be used by middlewares and engines to configure themselves. - # + # Stores some of the Rails initial environment parameters which + # will be used by middlewares and engines to configure themselves. def env_config @env_config ||= super.merge({ "action_dispatch.parameter_filter" => config.filter_parameters, |