lib/bulldog/attachment/base.rb in bulldog-0.0.10 vs lib/bulldog/attachment/base.rb in bulldog-0.0.11

- old
+ new

@@ -41,11 +41,11 @@ # # Like #process, but raise ActiveRecord::RecordInvalid if there # are any errors. # - def process!(event_name, &block) - process(event_name, &block) or + def process!(event_name, options={}, &block) + process(event_name, options, &block) or raise ActiveRecord::RecordInvalid, record end # # Return the path on the file system where the given style's