Fix failing test from [7619bcf2]

This commit is contained in:
Prem Sichanugrist 2012-01-30 16:54:33 -05:00
parent 7619bcf2d4
commit b04bce28ff
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module Rails
when /(string|text|binary|integer)\{(\d+)\}/
return $1, :limit => $2.to_i
when /decimal\{(\d+)[,.-](\d+)\}/
return :decimal, :precision => $1.to_i, :scale => $3.to_i
return :decimal, :precision => $1.to_i, :scale => $2.to_i
else
return type, {}
end