Merge pull request #139 from rajcybage/master

Spelling mistake on the previous commit it should be standard not "standar"
ActiveRecord::Relation#blank? should `LIMIT 1`

This is an SQL improvement to ActiveRecord::Relation#blank?. Currently,
it calls `to_a` on the Relation, which loads all records in the
association, and calls `blank?` on the loaded Array. There are other
ways, however, to check the emptiness of an association that are far
more performant. `#empty?`, `#exists?` and `#any?` all attach a `LIMIT
1` to the SQL query before firing it off, which is a nice query
improvement. `#blank?` should do the same!

Bonus performance improvements will also happen for `#present?`, which
merely calls the negation of `#blank?`

Signed-off-by: David Celis <me@davidcel.is>
Merge pull request #10539 from davidcelis/ar-sql-improvements

Improve performance of ActiveRecord::Relation#blank?
Revert "Merge pull request #10539 from davidcelis/ar-sql-improvements"

This reverts commit 257fa6897d9c85da16b7c9fcb4ae3008198d320e, reversing
changes made to 94725b81f5588e4b0f43222c4f142c3135941b4b.

The build failed

https://travis-ci.org/rails/rails/builds/7883546
Added bang method versions to association basics guide
Added a warning about #1769 to the routing guide.
Merge branch 'master' of github.com:lifo/docrails
Update Getting Started Guide - Strong Parameters
	modified:   guides/source/getting_started.md
Merge pull request #10872 from AJAlabs/master

Update Getting Started Guide - Strong Parameter [ci skip]
’ -> ' [ci skip]
Override Time.at to work with Time-like values

Time.at allows passing a single Time argument which is then converted
to an integer. The conversion code since 1.9.3r429 explicitly checks
for an instance of Time so we need to override it to allow DateTime
and ActiveSupport::TimeWithZone values.
Middleware in guide updated [ci skip]
fixed typo in action_view template
Describe ActiveSupport core extensions for BigDecimal, JSON support, and instance variable names.
change format example to read better when rendered with full_messages

The capital O was awkward and the validation wouldn't read "right" to the user.
Getting rid of the +automatic_inverse_of: false+ option in associations in favor
of using +inverse_of: false+ option. Changing the documentation and
adding a CHANGELOG entry for the automatic inverse detection feature.
explaining ActiveRecord#first in rails 3 and 4
Merge branch 'master' of github.com:rails/docrails
instructions for variations and alternatives for ActiveRecord#find
doc: renaming table name to follow the file's standards