Rails 4 lambda scope