Ruby on Rails
BignumPatch

Test:

--- test/base_test.rb   26 Aug 2004 15:28:12 -0000      1.30
+++ test/base_test.rb   4 Sep 2004 18:48:06 -0000
@@ -400,4 +400,12 @@
     assert_equal topic.title, cloned_topic.title
     assert cloned_topic.new_record?
   end
-end
\ No newline at end of file
+  
+  def test_bignum
+    topic = Topic.new
+    topic.reply_count = 2147483647
+    topic.save
+    topic = Topic.find(topic.id)
+    assert_equal 2147483647, topic.reply_count
+  end
+end

Fix:

--- lib/active_record/connection_adapters/abstract_adapter.rb   16 Aug 2004 11:59:48 -0000      1.28
+++ lib/active_record/connection_adapters/abstract_adapter.rb   4 Sep 2004 18:48:05 -0000
@@ -217,7 +217,7 @@
           when <span class="newWikiWord">NilClass<a href="http://wiki.rubyonrails.org/rails/pages/NilClass">?</a></span>            then "NULL" 
           when <span class="newWikiWord">TrueClass<a href="http://wiki.rubyonrails.org/rails/pages/TrueClass">?</a></span>           then (column and column.type  :boolean ? "'t'" : "1")
           when FalseClass?          then (column and column.type  :boolean ? ”’f’” : “0”)
- when Float, Fixnum, Date then ”’#{value.to_s}’”
+ when Float, Fixnum, Bignum, Date then ”’#{value.to_s}’” when Time, DateTime? then ”’#{value.strftime(”%Y-%m-%d %H:%M:%S”)}’” else ”’#{value.to_yaml.gsub(/’/, ”’’”)}’” end