Added cases to the Rails model template