force rails3 detection