We need to have 1-0-stable for joureny gem in edge

Problem : Edge rails can't bundle
Fixes #7437
Merge pull request #7438 from arunagw/3-2-stable-edge-rails-fix

We need to have 1-0-stable for joureny gem in edge
correct handling of date selects when using both disabled and discard options

we should take disabled option not only from `html_options` hash but from
`options` hash too like `build_select` method does it. So

datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true })
datetime_select("post", "updated_at", :discard_minute => true , :disabled => true)

both these variants work now

closes #7431
Merge pull request #7446 from nashby/backport-fix-issue-7431

backport #7435
fixes a bug in dependencies.rb

loaded stores file names without the .rb extension, but search_for_file
returns file names with the extension.

The solution is hackish, but this file needs a revamp.
CHANGELOGs are now per branch

Check 810a50d for the rationale.
Ensure association preloading properly merges default scope and association conditions

Conflicts:

	activerecord/test/models/reader.rb
Fix bug when Rails.application is defined but is nil. See #881
Merge pull request #7474 from steveklabnik/backport_89ebd28

Backport 89ebd28 to 3-2-stable
documents after_(commit|rollback)
set the configured #inheritance_column on #become (#7503)

I had to create a new table because I needed an STI table,
which does not have both a "type" and a "custom_type"

the test fails with:
  1) Error:
test_alt_becomes_works_with_sti(InheritanceTest):
NoMethodError: undefined method `type=' for #<Cabbage id: 1, name: "my cucumber", custom_type: "Cucumber">
    /Users/username/Projects/rails/activemodel/lib/active_model/attribute_methods.rb:432:in `method_missing'
    /Users/username/Projects/rails/activerecord/lib/active_record/attribute_methods.rb:100:in `method_missing'
    /Users/username/Projects/rails/activerecord/lib/active_record/persistence.rb:165:in `becomes'
    test/cases/inheritance_test.rb:134:in `test_becomes_works_with_sti'
    test/cases/inheritance_test.rb:140:in `test_alt_becomes_works_with_sti'

Conflicts:

	activerecord/test/cases/inheritance_test.rb
Merge pull request #7514 from senny/issue_7503_3_2_stable

set the configured #inheritance_column on #become (#7503)
Merge pull request #7337 from adzap/string_to_dummy_time

Fix for time type columns with invalid time value
Conflicts:
	activerecord/CHANGELOG.md
Update Active Model xml serialization test to reflect a change in builder

Due to a change in builder, nil values and empty strings now generates
closed tags, so instead of this:

    <pseudonyms nil=\"true\"></pseudonyms>

It generates this:

    <pseudonyms nil=\"true\"/>

Document this change in Rails so that people can track it down easily if
necessary.

Conflicts:
	activemodel/CHANGELOG.md
Fix AR tests due to builder change with nil values / empty strings

Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about
that.
Fix AS tests due to builder change with nil values / empty strings

Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about
that.
ConnectionAdapters::Column.type_cast_code should always convert values to integer calling #to_i
Merge pull request #7582 from tchandy/fix_type_cast_code

type_cast_code should always convert values to integer calling #to_i
Backported #7572 to 3-2-stable. Use config['encoding'], because database configuration use not charset but encoding.
Merge pull request #7603 from kennyj/fix_charset_vs_encoding_32

Backported #7572 to 3-2-stable. Use config['encoding'], because database configuration use not charset but encoding.