mattetti-couchrest 0.14.1 → 0.14.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,10 +52,6 @@ module CouchRest
|
|
52
52
|
return true if @options[:allow_nil] && field_value.nil?
|
53
53
|
return false if !@options[:allow_nil] && field_value.nil?
|
54
54
|
|
55
|
-
if target.class.properties.has_property?(field_name)
|
56
|
-
return true unless target.attribute_dirty?(field_name)
|
57
|
-
end
|
58
|
-
|
59
55
|
confirm_value = target.instance_variable_get("@#{@confirm_field_name}")
|
60
56
|
field_value == confirm_value
|
61
57
|
end
|
data/lib/couchrest.rb
CHANGED