### Bug fixes

* [#1530](https://github.com/rubocop/rubocop-rails/issues/1530): Fix an incorrect autocorrect for `Rails/FindByOrAssignmentMemoization` when using endless method definition. ([@koic][])
* [#1522](https://github.com/rubocop/rubocop-rails/pull/1522): Fix an error for `Rails/FindBy` when `where` takes a block. ([@earlopain][])
* [#1182](https://github.com/rubocop/rubocop-rails/issues/1182): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when flash is called in a block. ([@5hun-s][])

[@koic]: https://github.com/koic
[@earlopain]: https://github.com/earlopain
[@5hun-s]: https://github.com/5hun-s
