test/dummy/app/models/adminpanel/mug.rb in adminpanel-3.4.7 vs test/dummy/app/models/adminpanel/mug.rb in adminpanel-3.5.0
- old
+ new
@@ -1,8 +1,7 @@
module Adminpanel
class Mug < ActiveRecord::Base
include Adminpanel::Base
-
validates_presence_of :name
def self.form_attributes
[
{