spec/models/person.rb in structure-0.6.0 vs spec/models/person.rb in structure-0.7.0
- old
+ new
@@ -1,5 +1,6 @@
class Person < Structure
key :name
key :age, :type => Integer
+ key :website, :type => URI
has_many :friends
end
- old
+ new