Use AR #where instead of #order in #apply_options_to_scope for option with condition
Merge pull request #41 from MaximSt/bug/fix-where-scope-option

Use AR #where instead of #order in #apply_options_to_scope for option wi...
modify blocking function