popped error after rails3 upgrade