fix the sql that is generated from scoping
Created an unscope method for removing relations from a chain of
relations. Specific where values can be unscoped, and the unscope method
still works when relations are merged or combined.
Merge pull request #9532 from neerajdotname/fix-sql-in-example

In example fix sql that is generated from scoping
Merge pull request #9200 from wangjohn/unscoping_activerecord_merging

Introduce relation #unscope
add prompt to 422 page to check logs
Merge pull request #9537 from NARKOZ/patch-6

add prompt to 422 page to check logs
Use 1.9 hash style in changelog and doc examples [ci skip]
Remove .all usage from unscope doc examples [ci skip]