diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-02-10 15:58:39 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-02-11 08:49:31 -0700 |
commit | aafee233fb3b4211ee0bfb1fca776c159bd1067e (patch) | |
tree | e56375fa85fcec65d68e9192c8d6f713f9d5a7c4 /Gemfile | |
parent | 9a656a7776b2be0a13f8f20eedbca7fb5d184b34 (diff) | |
download | rails-aafee233fb3b4211ee0bfb1fca776c159bd1067e.tar.gz rails-aafee233fb3b4211ee0bfb1fca776c159bd1067e.tar.bz2 rails-aafee233fb3b4211ee0bfb1fca776c159bd1067e.zip |
Remove most PG specific type subclasses
The latest version of the PG gem can actually convert the primitives for
us in C code, which gives a pretty substantial speed up. A few cases
were only there to add the `infinity` method, which I just put on the
range type (which is the only place it was used). Floats also needed to
parse `Infinity` and `NaN`, but it felt reasonable enough to put that on
the generic form.
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ platforms :ruby do gem 'sqlite3', '~> 1.3.6' group :db do - gem 'pg', '>= 0.15.0' + gem 'pg', '>= 0.18.0' gem 'mysql', '>= 2.9.0' gem 'mysql2', '>= 0.3.13' end |