Merge pull request #10497 from senny/10485_does_not_coerce_strings

coerce strings when reading attributes
include names in model generator warning message. refs #13515.

This is a follow up to #13515. It includes the name given and
the singularized version in the warning message. This will aide the user
to see wether the detected singular was right or not.
build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81
Simple Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted.
refactor, extract `with_locale` helper.
Go with #presence_in instead of #present_in -- it doesnt sound quite as good, but the closer relationship to #presence over #present is ultimately worth it
Fix ActionView label translation for more than 10 nested elements
Merge pull request #14170 from kritik/master

there could be more than 10 nested records
refactor, with_locale is not needed because I18n is mocked.

This is a follow up to #14170. While backporting I recognized
that this call is not needed at all.
[skip ci] Fix typo in link_to :method option description
Merge pull request #14182 from mecampbellsoup/fix_typo_in_url_helper_docs

[skip ci] Fixing typo in documentation: actionview/lib/action_view/helpers/url_helper.rb
[skip ci] Standardized punctuation.
Merge pull request #14186 from ch33hau/standardized-punctuation

Standardized punctuation.
Merge pull request #14006 from Loremaster/strong_params_improvement

Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted.
`ActionDispatch::Head` was replaced by `Rack::Head`. Closes #14191.

See 449039a86d802871b707dfb51ac1ed96d53526f9 for the original commit.
Add missing parantheses in index_exists?
Point master changelogs to 4-1-stable branch

Remove 4-1 related entries from master [ci skip]
Merge pull request #14193 from ys/patch-1

Add missing parantheses in index_exists?
:scissors: [ci skip]
Optimize getting started guide images, and use png instead of jpg

We noticed the rails gem increased in size between the beta and rc
versions, and the reason is that some guides images were updated but not
properly optimized, and one image changed from png to jpg, way bigger.

Converting the jpg image back to png, and using ImageOptim to optimize
all the images for web view, improves the situation [ci skip].

---

In current master/4-1-stable:

    508K  guides/assets/images/getting_started/

In v4.1.0.beta1:

    268K  guides/assets/images/getting_started/

In 4-0-stable

    328K  guides/assets/images/getting_started/

After the patch:

    260K  guides/assets/images/getting_started/