Sha256: 3ca0c8fbdbcd2786d5fe55fa1ae7209764e5693317d2a07a6eeb8ae93e8c6eca
Contents?: true
Size: 414 Bytes
Versions: 22
Compression:
Stored size: 414 Bytes
Contents
# == Schema Information # # Table name: users # # id :integer not null, primary key # name :string # age :integer # salary :decimal(, ) # bio :text # created_at :datetime not null # updated_at :datetime not null # account_id :integer # dob :date # class User < ActiveRecord::Base has_many :comments validates :name, presence: true end
Version data entries
22 entries across 22 versions & 2 rubygems
Version | Path |
---|---|
rails_db-1.5.0 | test/dummy/app/models/user.rb |
rails_db-1.4.1 | test/dummy/app/models/user.rb |