Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: