Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed test for 3-1-stable. Abstract class is having nil class name. #2831

Merged
merged 1 commit into from Sep 3, 2011

Conversation

Projects
None yet
2 participants
Member

arunagw commented Sep 3, 2011

We need to check here for the table name.
Abstract classes are having nil class name.
So nil.gsub will give a error here.

1) Error:
test_include_polymorphic_has_one_defined_in_abstract_parent(AssociationsJoinModelTest):
NoMethodError: undefined method `gsub' for nil:NilClass
@arunagw arunagw We need to check here for the table name.
Abstract classes are having nil class name.
So nil.gsub will give a error here.
891d0d7

@tenderlove tenderlove added a commit that referenced this pull request Sep 3, 2011

@tenderlove tenderlove Merge pull request #2831 from arunagw/pg_abstract_class_fix
Fixed test for 3-1-stable. Abstract class is having nil class name.
e835aa0

@tenderlove tenderlove merged commit e835aa0 into rails:3-1-stable Sep 3, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment