The idea behind Friendly_ID is that you can use a slug or id to retrieve a record.
So User.friendly.find(id)
will retrieve a record using either the slug or id. If the record isn't found, it raises an error.
I want to find the record but return nil if the record is not found.
For now, the only way I know of is something like this:
u = User.find_by_id() || User.find_by_slug()
This won't search through old slugs plus it's clunky. Is there a cleaner solution?