fix for rails 3.0 cross schema