Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix failing test from [7619bcf2] #4769

Merged
merged 1 commit into from

2 participants

Prem Sichanugrist Xavier Noria
Prem Sichanugrist
Collaborator

No description provided.

Xavier Noria fxn merged commit c99eb23 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 30, 2012
  1. Prem Sichanugrist
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/generators/generated_attribute.rb
2  railties/lib/rails/generators/generated_attribute.rb
View
@@ -33,7 +33,7 @@ def parse_type_and_options(type)
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
Something went wrong with that request. Please try again.