Fix dirty handling of nullable non-integer numeric columns [#1692 state:resolved]

Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
This commit is contained in:
Carlos Kozuszko
2009-01-04 22:49:37 +00:00
committed by Pratik Naik
parent 0e92f67073
commit 5ed119c005
2 changed files with 25 additions and 0 deletions

View File

@@ -252,6 +252,7 @@ ActiveRecord::Schema.define do
t.decimal :world_population, :precision => 10, :scale => 0
t.decimal :my_house_population, :precision => 2, :scale => 0
t.decimal :decimal_number_with_default, :precision => 3, :scale => 2, :default => 2.78
t.float :temperature
end
create_table :orders, :force => true do |t|