spec/support/models/box.rb in ripple-1.0.0.beta vs spec/support/models/box.rb in ripple-1.0.0.beta2

- old
+ new

@@ -1,8 +1,9 @@ class Box include Ripple::Document property :shape, String many :sides, :class_name => 'BoxSide' + validates_associated :sides timestamps! end class BoxSide include Ripple::EmbeddedDocument