Ok, thanks. I had problems with lazy evaluation. I hope that in this case let and subject can be used together... https://github.com/gotar/Internship-calendar-API/pull/18#discussion-diff-7712116