scopes with lambda and arguments in Rails 4 style? November 21, 2022 by Tarik I think it should be: scope :find_lazy, -> (id) { where(id: id) }