test, regression test for has_many with instance dependent scope.
Documentation, add examples of using an Enum scope

When scanning the Enum API page I found it easy to miss that scopes are generated.  Adding an example clarifies use and has more... *pop*...
Merge pull request #15045 from xanhast/patch-1

Documentation, add examples of using an Enum scope [ci skip]
use unless and || since these options are boolean
use fnmatch to test for case insensitive file systems

this is due to:

  https://bugs.ruby-lang.org/issues/5994
[ci skip] add example to AR#assign_attributes
don't mutate the options hash, so we don't have to dup

avoids extra hash allocations on each call
skip dealing with params if none are provided

This lets us avoid

1. A slow call to Hash#slice
2. An is_a? test
3. Extra hash allocations (from slice)
4. String allocations

etc.
Fix broken proc syntax for 1.9.3
Merge pull request #15049 from arthurnn/fix_ci

Fix broken proc syntax for 1.9.3
Add controller and action name to the instrumentation payload
deprecate, join, preload, eager load of instance dependent associations.

Closes #15024.

These operations happen before instances are created.
The current behavior is misleading and can result in broken behavior.
copy edits [ci skip]
Merge branch 'master' of github.com:rails/docrails
minor change in AR readme [ci skip]
feature detect for FNM_EXTGLOB for older Ruby. Fixes #15053
Keep method's description/documentation consistent [ci skip]
Merge pull request #15054 from mechanicles/documentation-consistency

Keep method's description/documentation consistent [ci skip]
Change Gemfile’s double quotes in plugin generator

Since the generated application’s Gemfile is using single quotation marks, it
seems fair to use it on plugin’s Gemfile as well.
Merge pull request #15056 from josemarluedke/single-quotes-on-plugin-gemfile

Change Gemfile’s double quotation marks in plugin generator