3 ms·
This begs the question of what the hell is the point of the bang convention e.g. find! in this case.
by maxscam 9y ago
This begs the question of what the hell is the point of the bang convention e.g. find! in this case.
- rapind 9y agoI've never seen `find!`. If that's a thing, then I have no idea why. I've have found `find_by!` useful though. Say you want to raise an exception with `find_by!(email: "asd@asd.com")` or `find_by!(slug: "parameterized-string")` etc.