Support any Rails 4.0 and less than 4.2