开发者

What is the type for that input

I have a question that i cant figure out, if you can help me it will be great because I am really frustrated.

i have this input: 06/18/2011 17:45 in the model, which type开发者_开发百科 i need to write so i can get it from the table easly... i get this output from a textfield... Schema

create_table "statuses", :force => true do |t|
    t.string   "content"
    t.string   "group"
    t.datetime "date"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.date     "status_date"
end


Your question isn't quite explained, but maybe this other question will get you thinking correctly.

DateTime

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜