Sha256: 389fe9753c47a57d66b70adacdf08926728bd6040c755be946414d21c53a3ae4

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

class Comment < ActiveRecord::Base
  set_table_name :comments
  set_primary_key :id
  
  # Relationships

  # Constraints
  
  
  validates_numericality_of :post_id, {:allow_nil=>true}
  validates_numericality_of :id
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
legacy_data-0.1.6 spec/functional/expected/comment.rb
legacy_data-0.1.5 spec/functional/expected/comment.rb
legacy_data-0.1.4 spec/functional/expected/comment.rb