Use #detect in Rails to avoid conflicts with AR.find

Fixes

https://travis-ci.org/mbleigh/acts-as-taggable-on/jobs/15206376