RailsCasts Pro episodes are now free!

Learn more or hide this

Agustin Vilaseca's Profile

GitHub User: agustinv

Site: www.edsurge.com

Comments by Agustin Vilaseca


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.