lib/kanzen/inspection.rb in kanzen-0.5.0 vs lib/kanzen/inspection.rb in kanzen-0.6.0

- old
+ new

@@ -70,10 +70,10 @@ def is_attribute_valid?(another_model, attribute) # The proc must return TRUE if a given attribute # is VALID and FLASE if it IS INVALID attribute_value = another_model.send(attribute) - proc.call(attribute, attribute_value) + proc.call(attribute, attribute_value, another_model) end # Check attributes # Check has_one associations # Check has_many associations \ No newline at end of file