spec/support/none/initializer.rb in blueprints-0.9.0 vs spec/support/none/initializer.rb in blueprints-1.0.0
- old
+ new
@@ -42,9 +42,13 @@
end
def destroy
self.class.destroy(self)
end
+
+ def new_record?
+ true
+ end
end
class Fruit < NoneOrm
attr_accessor :species, :average_diameter, :tree
end