Topic: Indexing Foriegn Keys?

Should I create indices for Foriegn keys in a rails app? Also, in one model, I don't want to expose the ID field so I created a different reference number by adding the ID to 1,000,000 and then converting to hex. Should I index this field (unique string) since I do use it in a few querey's?