Fixed a bug in  when using has_many association with :inverse_of option and UUID primary key.
Adding documentation to +polymorphic_url+
concerning the options that it inherits from +url_for+. The way that
+polymorhpic_url+ is built allows it to have options
like +:anchor+, +:script_name+, etc. but this is currently not
documented.
Disable ability to iterate over a Range of TimeWithZone
Creating options for schema dumper.

These options make it easier to change the config from
ActiveRecord::Base to use something else inside of the SchemaDumper.
Rewrite journey routes formatter for performance
Small refactoring changes to generators.

Made a method name clearer (added a bang to the end to show that it
mutates arguments) and extracted indentation into its own method.
[ci skip] Add some comment about downcase url encoded string.
[ci skip] Add a type modifier in migrations.md.
[ci skip] Add missing migrate step in generating comment resource section.
Merge pull request #12316 from JuanitoFatas/engines

[ci skip] Add missing migrate step in generating comment resource section.
Merge pull request #12281 from kennyj/add_doc_about_12276

[ci skip] Add some comment about downcase url encoded string.
Merge pull request #10500 from kennyj/fix_10450

Fixed a bug in  when using has_many association with :inverse_of option and UUID primary key.

Conflicts:
	activerecord/CHANGELOG.md
Give the credits [ci skip]
handle `:namespace` form option in collection labels
Merge pull request #11382 from kennyj/fix_10751-2

Dump UUID default functions to schema.rb [2nd version]. Fixes #10751.

Conflicts:
	activerecord/CHANGELOG.md
Merge pull request #12317 from nashby/collection-label-namespace

handle `:namespace` form option in collection labels
Merge pull request #11474 from bogdan/time-with-zone-succ

Prevent server blow up when iterating over TimeWithZone Range
Merge pull request #9155 from bogdan/route-formatter

Rewrite Journey::Visitors::Formatter for performance
Only output Server logs in Development

Right now when you start a server via `rails s`, the logger gets extended so that it logs to the file system and also to stdout. This extension behavior is not "intelligent" and if the default logger is already set to output to stdout, then the contents will be received twice.

To capture logs in accordance with http://www.12factor.net/logs some platforms require the logs to be sent to standard out. If a logger is set to stdout, and the server is started using `rails server` instead of another method (i.e. `thin start` etc.) then the app will produce double logs.

This PR fixes the issue by only extending the logger to standard out in the development environment. So that in production you don't get double logs like this:

```
ActionView::Template::Error (wrong number of arguments (5 for 4)):
    1: <% lang_index = 0 %>
    2: <div class="row">
    3:   <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs">
    4:     <% repos.group_by(&:language).each do |lang, repos| %>
    5:       <% unless lang == nil %>
    6:         <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li>
    7:       <% end -%>
  app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000'
  app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880'

ActionView::Template::Error (wrong number of arguments (5 for 4)):
    1: <% lang_index = 0 %>
    2: <div class="row">
    3:   <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs">
    4:     <% repos.group_by(&:language).each do |lang, repos| %>
    5:       <% unless lang == nil %>
    6:         <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li>
    7:       <% end -%>
  app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000'
  app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880'
```

ATP Railties. Opened against master in favor of #10999
Merge pull request #11060 from schneems/schneems/multi-stdout-logging-master

Only output Server logs in Development