[skip] Added Rails 4 compatibility (1m)