Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8290 from cpatuzzo/master

Fixed a typo
  • Loading branch information...
commit 0cf3092e60d4429467f7e175f610f67e58980f82 2 parents 1c0e7ab + 104f4fd
@carlosantoniodasilva carlosantoniodasilva authored
View
2  activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -540,7 +540,7 @@ def type_to_sql(type, limit = nil, precision = nil, scale = nil) #:nodoc:
column_type_sql << "(#{precision})"
end
elsif scale
- raise ArgumentError, "Error adding decimal column: precision cannot be empty if scale if specified"
+ raise ArgumentError, "Error adding decimal column: precision cannot be empty if scale is specified"
end
elsif (type != :primary_key) && (limit ||= native.is_a?(Hash) && native[:limit])
Please sign in to comment.
Something went wrong with that request. Please try again.