ActiveRecord#attributes optimization: minimize objects created
Duplicate tests removed.
Merge pull request #6689 from arunagw/duplicate_test_removed

Duplicate test removed
Merge pull request #6687 from tiegz/3-2-optimizations

ActiveRecord#attributes optimization: minimize objects created
fix namespace collision with test-unit-activesupport
Merge pull request #6693 from jkraemer/3-2-stable

Bugfix: Namespace collision with test-unit-activesupport 1.0.0
Merge pull request #6695 from kennyj/fix_6635

Fix #6635. We should call Scoping methods, before calling Array methods.
Merge pull request #6688 from c42engineering/buffered_logger_level_while_creation

BufferedLogger level while creation
Minimal change to query generation of exists? that makes SQLServer and others happy that do not work without a column alias.
Conflicts:
	activerecord/lib/active_record/relation/finder_methods.rb
Add test to column alias in `exists?` SQL.

This behavior was added in dd286a4c735dac1db8c9262581c7f29c44d1f695

Closes #1139.

Fixes #2553, #1141, #1623 and #2062.
Remove warning
Merge pull request #6521 from Empact/throw-result

Fix that #exists? can blow up with ThrowResult exception
Conflicts:
	activerecord/lib/active_record/relation/finder_methods.rb
Merge pull request #6698 from yahonda/address_ora_911_master

Address ORA-00911 errors because of the heading underscore.
Merge pull request #6690 from suginoy/fix-templates-copy

Fix: 'rake rails:templates:copy' doesn't work
Conflicts:
	railties/test/application/rake_test.rb
Fix GH #3163. Should quote database on mysql/mysql2.

Conflicts:

	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
Change the string to use in  test case.

Conflicts:

	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
	activerecord/test/cases/adapters/mysql2/schema_test.rb
Additional fix for CVE-2012-2661

While the patched PredicateBuilder in 3.1.5 prevents a user
from specifying a table name using the `table.column` format,
it doesn't protect against the nesting of hashes changing the
table context in the next call to build_from_hash. This fix
covers this case as well.
Array parameters should not contain nil values.
updating changelogs
updating changelogs with security fixes