Skip to content
Browse files

Fix typo

  • Loading branch information...
1 parent e072f82 commit 3bdfecea8b9cd324a396782e1d44834c8dccef70 @rafaelfranca rafaelfranca committed Jan 31, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
View
4 activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
@@ -84,7 +84,7 @@ def initialize(subtype)
@subtype = subtype
end
- def exctract_bounds(value)
+ def extract_bounds(value)
from, to = value[1..-2].split(',')
{
from: (value[1] == ',' || from == '-infinity') ? infinity(:negative => true) : from,
@@ -110,7 +110,7 @@ def type_cast(value)
return if value.nil? || value == 'empty'
return value if value.is_a?(::Range)
- extracted = exctract_bounds(value)
+ extracted = extract_bounds(value)
case @subtype
when :date

0 comments on commit 3bdfece

Please sign in to comment.
Something went wrong with that request. Please try again.