rails3 ajax toggle attributes