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
精彩评论