Now compatible with Rails v. 4.0.x