Learn how to use with_scope – a very powerful method which will allow your custom find methods to accept any find options. Just like magic!

Read more at the source