Skip to content

Commit

Permalink
Fixed outdated Object.type reference to use Object.class instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Gentry committed Sep 2, 2009
1 parent 6f2a2dc commit b3d2315
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -112,7 +112,7 @@ def new_value_for_scope(scope)
nil
end

case column_type.type
case column_type.class
when :int, :integer, :float, :decimal
new_value_for_stringfiable_scope(scope)
when :datetime, :timestamp, :time
Expand Down

0 comments on commit b3d2315

Please sign in to comment.