Skip to content

Instantly share code, notes, and snippets.

View ericktai's full-sized avatar

Erick Tai ericktai

View GitHub Profile
class User < ApplicationRecord
has_many :posts
has_many :comments
# id :integer not null, primary key
# name :string(50) default("")
end