Make your ActiveRecord ids non-obvious.  Mixes up record ids in a simple, reversible hashing algorithm so that it can then automatically revert the hashed number back to the original id for record lookup without having to store a hash or tag in the database.