Bump version to rc1
rails/master is now 4.1.0.beta
Removing Railtie::Configurable from the base Railtie object and making
Railtie itself abstract. This stops the weird behavior of forcing
subclasses of Railtie to include the Configurable module.
Merge pull request #9791 from wangjohn/remove_configurable

Removing Railtie::Configurable and replacing it with class methods
Fix guide section about assets precompiling task in production [ci skip]

You need to specify `RAILS_ENV=production`

Related to https://github.com/rails/sass-rails/issues/152.

/cc @guilleiguaran
Merge pull request #10378 from frodsan/fix_precompiling_assets_section

Fix assets precompiling in production guide
add missing :nodoc: marks to ActiveRecord::Delegation [ci skip]
Merge pull request #10379 from frodsan/fix_nodoc_ar_delegation

add missing :nodoc: marks to ActiveRecord::Delegation [ci skip]
first_or_create fix for has_many :through

fixes #10144

`physician.patients.first_or_create` creates the association
record.

However `physician.patients.where(name: 'neeraj').first_or_create`
does not create the association record.

In the first case `first_or_create` is being invoked on
`CollectionProxy` instance. However in the second instance
`physician.patients.where(name: 'neeraj')` returns a `Relation`
object and not `CollectionProxy` object.

Fix is to check if the relation object happens to have
`proxy_association` then invoke `create` on that
`proxy_association`.