Use native hstore support when available e.g ActiveRecord 4.x. Multiple ActiveRecord versions can be tested as follows:

bundle install
bundle exec rake

ACTIVE_RECORD_VERSION=3.1 bundle install
ACTIVE_RECORD_VERSION=3.1 bundle exec rake

EDGE_RAILS=1 bundle install
EDGE_RAILS=1 bundle exec rake