Skip to content

Commit

Permalink
Typos in constant names
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Sinjakli committed Jun 9, 2014
1 parent bf57575 commit 40abf5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module ActiveRecord
module ConnectionAdapters
module PostgreSQL
def get_type_map
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MAJOR == 0
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR == 0
::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::TYPE_MAP
else
type_map
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module ConnectionAdapters
module PostgreSQLTypeMap
# Returns the private "type_map" needed for the cursor operation
def get_type_map # :nodoc:
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MAJOR == 0
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR == 0
::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::TYPE_MAP
else
type_map
Expand Down

0 comments on commit 40abf5c

Please sign in to comment.