Sha256: fc02c1ebceeb54d8276b63f6c4f744a7753803704286fc67ace4e5ac5b2f5fa6

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

class Vocabulary < ActiveRecord::Base
  set_table_name  :vocabulary
  set_primary_key :vid

  # Relationships
  

  # Constraints
  validates_numericality_of :relations, :hierarchy, :multiple, :required, :tags, :weight
  validates_presence_of :name, :help, :relations, :hierarchy, :multiple, :required, :tags, :module, :weight
end

Version data entries

5 entries across 5 versions & 1 rubygems

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