spec/models/datamapper/league.rb in merb-admin-0.7.3 vs spec/models/datamapper/league.rb in merb-admin-0.7.4
- old
+ new
@@ -2,10 +2,10 @@
include DataMapper::Resource
property(:id, Serial)
property(:created_at, DateTime)
property(:updated_at, DateTime)
- property(:name, String, :nullable => false, :index => true)
+ property(:name, String, :required => true, :index => true)
has(n, :divisions)
has(n, :teams)
end