rails3 fix issue preview