Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleanup of class_name

Don't think class name is needed as by default belongs_to :select will be linked to Select class.
  • Loading branch information...
commit 408b798240cce71688896d9509f45221fc548696 1 parent b6c0639
@ankit8898 ankit8898 authored
View
2  activerecord/test/cases/adapters/mysql/reserved_word_test.rb
@@ -2,7 +2,7 @@
class Group < ActiveRecord::Base
Group.table_name = 'group'
- belongs_to :select, :class_name => 'Select'
+ belongs_to :select
has_one :values
end
View
2  activerecord/test/cases/adapters/mysql2/reserved_word_test.rb
@@ -2,7 +2,7 @@
class Group < ActiveRecord::Base
Group.table_name = 'group'
- belongs_to :select, :class_name => 'Select'
+ belongs_to :select
has_one :values
end
Please sign in to comment.
Something went wrong with that request. Please try again.