Removed support for deprecated `finder_sql` in associations.
fix indentation
use extract_options!
Merge pull request #11251 from neerajdotname/deprecated-finder-sql

Removed support for deprecated finder sql
Merge pull request #11252 from neerajdotname/use-extract-options

use extract_options!
Removed support for deprecated `insert_sql` in associations.
Merge pull request #11253 from neerajdotname/removed-insert-sql

Removed support for deprecated `insert_sql` in associations.
resolve aliases before passing the hash to the predicate builder
no need to to_sym the column name, leave it as-is
Removed support for deprecated `delete_sql` in associations.
Merge pull request #11254 from neerajdotname/delete-sql-be-gone

Removed support for deprecated `delete_sql` in associations.
Dropped deprecated option `:restrict` for `:dependent` in associations
Merge pull request #11255 from neerajdotname/restrict-be-gone

Dropped deprecated option `:restrict` for `:dependent` in associations
Correctly handle relations as values in where() for polymorphic associations.