Dependent on rail >= 3, < 5.

Support Rails 4.