Thanks Wayne

follow  your instruction, I tried this:
<% "Work: #{@user.phone_work}" if @user.phone_work !=0 -%>

which is not work, the field will disappear not matter exist or not
any idea why?

-- 
Posted via http://www.ruby-forum.com/.