Modified doc for rails3