lib/tram/policy.rb in tram-policy-0.0.3 vs lib/tram/policy.rb in tram-policy-0.1.0

- old
+ new

@@ -105,10 +105,10 @@ private def initialize(*) super - @__scope__ = Inflector.underscore(self.class.name) + @__scope__ = ["tram-policy", Inflector.underscore(self.class.name)] self.class.send(:validators).each do |name, opts| size = errors.count send(name) break if (errors.count > size) && opts[:stop_on_failure] end