change error method name to match active record method name