Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed scope reference on uniqueness_without_deleted

  • Loading branch information...
commit 978817d23d0c315136272b7f714df4e90afa1b89 1 parent c981575
Craig Walker authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  test/test_helper.rb
2  test/test_helper.rb
@@ -314,7 +314,7 @@ class ParanoidManyManyChild < ActiveRecord::Base
314 314 belongs_to :paranoid_many_many_parent_left
315 315 belongs_to :paranoid_many_many_parent_right
316 316 validates_as_paranoid
317   - validates_uniqueness_of_without_deleted :paranoid_many_many_parent_right
  317 + validates_uniqueness_of_without_deleted :paranoid_many_many_parent_right_id
318 318 end
319 319
320 320 class ParanoidWithScopedValidation < ActiveRecord::Base

0 comments on commit 978817d

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