lib/kanzen.rb in kanzen-0.4.0 vs lib/kanzen.rb in kanzen-0.5.0

- old
+ new

@@ -15,10 +15,10 @@ # given attribute is valid or not. # We convert attributes to string and since nils # are converted to "", we can compare that to see # if a given attribute is different from an empty # string literal - DEFAULT_PROC = Proc.new do |value| + DEFAULT_PROC = Proc.new do |attribute_name, value| value.to_s != "" end # Returns true if the model and its associations are # all filled.