respond_to? :base_klass # :active_record

Ransack's Rails-4 branch was broken by Edge Rails commit 821d7bd on
April 10, 2013 between 4.0.0.beta and 4.0.0.rc1. This commit should fix
the issue.