내 이동은 다음과 같습니다레일 마이그레이션
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :email
t.string :password
t.string :name
t.boolean :male
t.boolean :admin
t.timestamps
end
end
def self.down
drop_table :users
end
end
I 스크립트/콘솔과 유형 "사용자"로 이동 레일이 클래스를 인식하지 못합니다.