update to require rails 4.0 or greater