Rails 4 compatibility

It should be compatible with rails 3 but I have no idea how to test that. Works for my app on rails 4.