first attempt at rails 2 backwards compatibility