Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Agustin Vilaseca's Profile

GitHub User: agustinv

Site: www.edsurge.com

Comments by Agustin Vilaseca

Avatar

Yes you can overwrite the find_one method. Look at https://github.com/norman/friendly_id/issues/197 for an example.

But make sure that you are starting with the right finder method, eg history uses another one.