updated to rails3
update rails3