remove attr of rails3