app/models/unidom/authorization/permission.rb in unidom-authorization-0.1 vs app/models/unidom/authorization/permission.rb in unidom-authorization-0.2

- old
+ new

@@ -2,15 +2,15 @@ class Unidom::Authorization::Permission < ActiveRecord::Base self.table_name = 'unidom_permissions' + include Unidom::Common::Concerns::ModelExtension + has_many :authorizings, class_name: 'Unidom::Authorization::Authorizing' validates :name, presence: true, length: { in: 2..self.columns_hash['name'].limit } validates :path, allow_blank: true, length: { in: 2..self.columns_hash['path'].limit } scope :path_is, ->(path) { where path: path } - - include Unidom::Common::Concerns::ModelExtension end