Fixing rails3 loading.