test/rails_app/app/models/book.rb in netzke-basepack-0.6.2 vs test/rails_app/app/models/book.rb in netzke-basepack-0.6.3
- old
+ new
@@ -1,3 +1,4 @@
class Book < ActiveRecord::Base
belongs_to :author
+ validates_presence_of :title
end
- old
+ new