public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
Made Address#zip a string to correctly support numericality checks
rmm5t (author)
Tue Jul 01 05:20:32 -0700 2008
commit  cca01c0285960fe6443d487064cf1ffa023cd748
tree    73a155097b14cc75d5e20c7ebb9df1710d4021e4
parent  8ba56581049dfbb427b99275f48889ef3fa9efb8
...
1
2
3
 
4
5
6
7
8
9
10
 
...
1
2
 
3
4
5
6
7
8
 
9
10
0
@@ -1,9 +1,9 @@
0
 class AddZipToAddresses < ActiveRecord::Migration
0
   def self.up
0
- add_column :addresses, :zip, :integer
0
+ add_column :addresses, :zip, :string
0
   end
0
 
0
   def self.down
0
     remove_column :addresses, :zip
0
   end
0
-end
0
\ No newline at end of file
0
+end

Comments

    No one has commented yet.