Specifying compatibility for rails 3 & rails 4