Practicing rails in the most generic way possible...