downgrading to rails 3