Common Support Functions for Rails Apps