aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-02-10 15:58:39 -0700
committerSean Griffin <sean@thoughtbot.com>2015-02-11 08:49:31 -0700
commitaafee233fb3b4211ee0bfb1fca776c159bd1067e (patch)
treee56375fa85fcec65d68e9192c8d6f713f9d5a7c4 /activerecord/lib/active_record/base.rb
parent9a656a7776b2be0a13f8f20eedbca7fb5d184b34 (diff)
downloadrails-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 'activerecord/lib/active_record/base.rb')
0 files changed, 0 insertions, 0 deletions