Sha256: 3e4179e3f007198ee2a259b114c9b6a9d8fde4b89abfd9f06ecc47fcd49d7a08

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

class Comment < ActiveRecord::Base
  set_primary_key :cid

  # Relationships
  

  # Constraints
  validates_numericality_of :pid, :nid, :uid, :timestamp, :status, :format
  validates_presence_of :pid, :nid, :uid, :subject, :comment, :hostname, :timestamp, :status, :format, :thread
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
legacy_data-0.2.1 examples/generated/drupal_mysql/comment.rb
legacy_data-0.2.0 examples/generated/drupal_mysql/comment.rb
legacy_data-0.1.12 examples/generated/drupal_mysql/comment.rb
legacy_data-0.1.11 examples/generated/drupal_mysql/comment.rb
legacy_data-0.1.10 examples/generated/drupal_mysql/comment.rb