rails/rails — pull request #8542 by le0pard (2012-12-17 19:19:15+00:00)
Title: AR supporting new int4range and int8range data type on PostgreSQL >= 9.2. Fix #8528 pull request

This is fix for [#8528](https://github.com/rails/rails/pull/8528) pull request. I just add tests for all possible variants (with invalid data).