Sha256: f6cefe34f6ef5516b546448f358cacea8bcbc6ab3af9e46eb8184fe12544d5fd

Contents?: true

Size: 422 Bytes

Versions: 43

Compression:

Stored size: 422 Bytes

Contents

class Mdm::Module::Author < ActiveRecord::Base
  self.table_name = 'module_authors'

  #
  # Associations
  #

  belongs_to :detail, :class_name => 'Mdm::Module::Detail'

  #
  # Mass Assignment Security
  #

  attr_accessible :email
  attr_accessible :name

  #
  # Validations
  #

  validates :detail, :presence => true
  validates :name, :presence => true

  ActiveSupport.run_load_hooks(:mdm_module_author, self)
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
metasploit_data_models-0.16.1-java app/models/mdm/module/author.rb
metasploit_data_models-0.16.1 app/models/mdm/module/author.rb
metasploit_data_models-0.16.0-java app/models/mdm/module/author.rb
metasploit_data_models-0.16.0 app/models/mdm/module/author.rb
metasploit_data_models-0.15.2-java app/models/mdm/module/author.rb
metasploit_data_models-0.15.2 app/models/mdm/module/author.rb
metasploit_data_models-0.15.1-java app/models/mdm/module/author.rb
metasploit_data_models-0.15.1 app/models/mdm/module/author.rb
metasploit_data_models-0.15.0 app/models/mdm/module/author.rb
metasploit_data_models-0.14.4-java app/models/mdm/module/author.rb
metasploit_data_models-0.14.4 app/models/mdm/module/author.rb
metasploit_data_models-0.14.3-java app/models/mdm/module/author.rb
metasploit_data_models-0.14.3 app/models/mdm/module/author.rb
metasploit_data_models-0.14.2-java app/models/mdm/module/author.rb
metasploit_data_models-0.14.2 app/models/mdm/module/author.rb
metasploit_data_models-0.14.1-java app/models/mdm/module/author.rb
metasploit_data_models-0.14.1 app/models/mdm/module/author.rb
metasploit_data_models-0.12.1-java app/models/mdm/module/author.rb
metasploit_data_models-0.12.1 app/models/mdm/module/author.rb
metasploit_data_models-0.12.0-java app/models/mdm/module/author.rb