rails/rails — pull request #16176 by marianovalles (2014-07-15 10:16:15+00:00)
Title: Fixed Rational to BigDecimal conversion

Running into a problem with Rationals we discovered that `active_record/connection_adapters/column.rb` does not support `Rational#to_d(precision)`.

This pull requests adds the missing clause with a test case.

Cheers,

@Overbryd and @marianovalles