Suppress warning about IO#lines in Ruby 2.0

actionpack/lib/action_dispatch/middleware/exception_wrapper.rb:99: IO#lines is deprecated; use #each_line instead
This commit fixes issue #8628

Allow environment name to start with a substring of the default
environment names.
For example: tes, pro, prod, dev, devel, etc.

Fixing identation.

Adding test for Rails::Console.parse_arguments method.

Fix issue 8628 for Rails::DBConsole.
Merge pull request #8744 from tricknotes/suppress-warning

Suppress warning about IO#lines in Ruby 2.0
ERB::Util::h is no longer generated in scaffold
Merge pull request #8746 from tricknotes/remove-h-from-guides

ERB::Util::h is no longer generated in scaffold [ci skip]
removed dangling whitespace in generated database yml
Merge pull request #8747 from asanghi/wsfix

Remove dangling whitespace in generated database yml files for postgresql and sqlserver [ci skip]
Remove unnecessary `ERB::Util::h`

It is automatically applied when strings is unsafe for html.
Merge pull request #8750 from tricknotes/remove-unnecessary-h

Remove unnecessary `ERB::Util::h`
Allow use of durations for ActionDispatch::SSL configuration
Better error message for String#to_date

I did this because to_date gives a very unhelpful error message if you
do not pass in a correct date. In the process I think this cleans up the
 code nicely and even better it tends to be slightly faster than the
 current implementation.

Benchmark
https://gist.github.com/4440875
get rid of unused .empty_directory files in the app generator
Merge pull request #8754 from amatsuda/app_generator_unused_empty_directories

get rid of unused .empty_directory files in the app generator
misleading error message that prompts non-existing command

[ci skip]
Merge pull request #8758 from amatsuda/plugin_new_error_message

Misleading error message that prompts non-existing command [ci skip]
fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057
Support for PostgreSQL's ltree data type.
Merge pull request #8755 from robworley/postgresql-ltree-data-type

Support for PostgreSQL's ltree datatype
Merge pull request #8722 from kwstannard/string_to_date_change

Better error message for String#to_date
Merge pull request #8760 from amatsuda/railties_failing_tests_fix

fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057