Changed Rails to Rails3