Browse files

style cleanup

  • Loading branch information...
1 parent f02d218 commit 94ef7b515b9bd026a0ed67ef7dabbf0b4ab554e3 @joshsusser joshsusser committed Dec 3, 2012
View
8 activerecord/lib/active_record/schema_migration.rb
@@ -31,10 +31,10 @@ def self.create_table
end
else
connection.create_table(table_name, :id => false) do |t|
- t.column "version", :string, :null => false
- t.column "migrated_at", :datetime, :null => false
- t.column "fingerprint", :string, :limit => 32
- t.column "name", :string
+ t.column :version, :string, :null => false
+ t.column :migrated_at, :datetime, :null => false
+ t.column :fingerprint, :string, :limit => 32
+ t.column :name, :string
end
connection.add_index(table_name, "version", :unique => true, :name => index_name)
end
View
2 activerecord/test/cases/migration_test.rb
@@ -346,7 +346,7 @@ def test_create_table_with_binary_column
assert_nothing_raised {
Person.connection.create_table :binary_testings do |t|
- t.column "data", :binary, :null => false
+ t.column :data, :binary, :null => false
end
}
View
1 activerecord/test/cases/schema_dumper_test.rb
@@ -1,5 +1,4 @@
require "cases/helper"
-# require "cases/migration/helper"
class SchemaDumperTest < ActiveRecord::TestCase
def setup

0 comments on commit 94ef7b5

Please sign in to comment.