validates_uniqueness_of question

JB, I think you would need to use a scope, for example:

validates_uniqueness_of :user_id, :scope => :design_id