Skip to content
Browse files

Fixed scope reference on uniqueness_without_deleted

  • Loading branch information...
1 parent c981575 commit 978817d23d0c315136272b7f714df4e90afa1b89 @softcraft-development committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
2 test/test_helper.rb
@@ -314,7 +314,7 @@ class ParanoidManyManyChild < ActiveRecord::Base
belongs_to :paranoid_many_many_parent_left
belongs_to :paranoid_many_many_parent_right
validates_as_paranoid
- validates_uniqueness_of_without_deleted :paranoid_many_many_parent_right
+ validates_uniqueness_of_without_deleted :paranoid_many_many_parent_right_id
end
class ParanoidWithScopedValidation < ActiveRecord::Base

0 comments on commit 978817d

Please sign in to comment.
Something went wrong with that request. Please try again.