upgrading for rails 3 and spree 1.2.0