add formData support

This commit is contained in:
ali.q
2017-04-15 01:34:05 +04:30
committed by ali
parent 25d8adaf8b
commit 182ee093f4
12 changed files with 154 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ class CreateBlogs < ActiveRecord::Migration
create_table :blogs do |t|
t.string :title
t.text :content
t.string :thumbnail
t.timestamps
end

View File

@@ -16,6 +16,7 @@ ActiveRecord::Schema.define(:version => 20160218212104) do
create_table "blogs", :force => true do |t|
t.string "title"
t.text "content"
t.string "thumbnail"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end