lib/whyvalidationssuckin96/macros/validates_inclusion.rb in whyvalidationssuckin96-1.5.3 vs lib/whyvalidationssuckin96/macros/validates_inclusion.rb in whyvalidationssuckin96-1.5.4

- old
+ new

@@ -42,9 +42,15 @@ else fail end end + private + + def attribute_value + options[:set] ? Array(super) : super + end + end # Validation ValidationBuilder.register_macro :validates_inclusion_of, WhyValidationsSuckIn96::ValidatesInclusion end # WhyValidationsSuckIn96 \ No newline at end of file