updates for rails4 and spree 2.4.1