Ruby Rails 脚手架未显示

Ruby on Rails Scaffold not displaying

我已经创建了一个脚手架来创建每周日志与此迁移:

class CreateLoggs < ActiveRecord::Migration
  def change
    create_table :loggs do |t|
    t.string :Name
    t.string :Date
    t.string :Time
    t.text :WhatsGoneWellThisWeek?
    t.text :WhatsNotGoneWellThisWeek?
    t.text :LearntAnythingNew?
    t.text :WhatWouldYouLikeToImprove?
    t.text :AnythingElse?

    t.timestamps
  end
end

我假设 t.text 会占用更多字符。但是,在每个文本字段中写入一个段落后,除了字符串类型外,它输出的都是空的。然后我将所有内容都更改为字符串,但这也不起作用,事实上它甚至不允许我输入 2 或 3 个字母。我希望文本类型能够在表单中各占一个段落。我唯一的猜测是我创建的标题太长了吗? (顺便说一句,我也试过 What_would_you_like_to_improve? )但仍然没有运气。

class CreateLoggs < ActiveRecord::Migration
  def change
    create_table :loggs do |t|
      t.string :name
      t.string :date
      t.string :time
      t.text :whats_gone_well_this_week
      t.text :whats_not_gone_well_this_week
      t.text :learnt_anything_new
      t.text :what_would_you_like_to_improve
      t.text :anything_else
      t.timestamps
    end
  end

end