29 Update for deprecation of rails 4.0