Permalink
Browse files

Whoops, forgot to test that last one.

  • Loading branch information...
1 parent 6f3ccaf commit 14997e1cf5bf277c77f9030d9adb1b199060eb6a @DouweM DouweM committed Sep 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/citier/child_instance_methods.rb
@@ -94,7 +94,7 @@ def save(options={})
def save!(options={})
raise ActiveRecord::RecordInvalid.new(self) if (options[:validate] != false && !self.valid?)
- self.save || raise ActiveRecord::RecordNotSaved
+ self.save || raise(ActiveRecord::RecordNotSaved)
end
include InstanceMethods

0 comments on commit 14997e1

Please sign in to comment.