Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Whoops, forgot to test that last one.

  • Loading branch information...
commit 14997e1cf5bf277c77f9030d9adb1b199060eb6a 1 parent 6f3ccaf
@DouweM DouweM authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/citier/child_instance_methods.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.