Permalink
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...
1 parent b6c0639 commit 408b798240cce71688896d9509f45221fc548696 @ankit8898 ankit8898 committed Jul 28, 2013
@@ -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
@@ -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

0 comments on commit 408b798

Please sign in to comment.