class CreateFlatpage
Public Instance Methods
change()
click to toggle source
# File lib/generators/flatpages/install/templates/create_flatpage.rb, line 2 def change create_table :flatpages do |t| t.string :name, null: false t.string :path, null: false t.text :text end end