Allow Rails 4 as well as Rails 3

should work ;)