lib/freeberry/models/header.rb in freeberry-0.2.5 vs lib/freeberry/models/header.rb in freeberry-0.2.6
- old
+ new
@@ -8,11 +8,9 @@
end
module ClassMethods
def self.extended(base)
base.class_eval do
- validates_presence_of :headerable_type, :headerable_id
-
belongs_to :headerable, :polymorphic => true
end
end
end