Sha256: 32646b0eac8c2e8d77281df9edcdbf257ef40b582abf4242e9d1e52ba53b8e22

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

class NodeType < ActiveRecord::Base
  set_table_name  :node_type
  set_primary_key :type
  
  # Relationships
  

  # Constraints
  validates_numericality_of :has_title, :has_body, :min_word_count, :custom, :modified, :locked
  validates_presence_of :name, :module, :description, :help, :has_title, :title_label, :has_body, :body_label, :min_word_count, :custom, :modified, :locked, :orig_type
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legacy_data-0.1.9 examples/generated/drupal_mysql/node_type.rb