test/dummy/app/models/event.rb in polyblock-0.7.2 vs test/dummy/app/models/event.rb in polyblock-0.8.0
- old
+ new
@@ -1,5 +1,6 @@
class Event < ActiveRecord::Base
- has_polyblock :description
+ has_polyblock :description, :html => false
+ validates_polyblock_presence :description
end