Support Rails 4 too

Hi,

This makes it possible to use `ransack` when using `rails`'s 4 version.

Best,